Compare commits

...

5 Commits

Author SHA1 Message Date
jolheiser f29cf812fb
Re-add event
continuous-integration/woodpecker the build was successful Details
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-08 15:52:03 -05:00
jolheiser f94a0913a2
Remvoe event
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-08 15:50:25 -05:00
jolheiser 3dca020eb2
Cleanup
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-08 15:46:38 -05:00
jolheiser 7384e4c19e
Rewrite pipeline
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2021-10-08 15:42:43 -05:00
jolheiser b87219f5ea Move to woodpecker 2021-10-08 20:28:14 +00:00
3 changed files with 8 additions and 34 deletions

View File

@ -1,17 +0,0 @@
---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: golang:1.16
commands:
- make test
- name: check
pull: always
image: golang:1.16
commands:
- make vet

8
.woodpecker.yml 100644
View File

@ -0,0 +1,8 @@
pipeline:
compliance:
image: golang:1.17
commands:
- go test -race ./...
- go vet ./...
when:
event: [ pull_request ]

View File

@ -1,17 +0,0 @@
GO ?= go
.PHONY: vet
vet:
$(GO) vet ./...
.PHONY: fmt
fmt:
$(GO) fmt ./...
.PHONY: test
test:
$(GO) test -race ./...
.PHONY: bench
bench:
$(GO) test -benchmem -bench=.