ezshare/.woodpecker/test.yml
2022-01-05 01:45:09 +01:00

16 lines
268 B
YAML

pipeline:
test:
image: golang:${GO_VERSION}
commands:
- go build main.go
- go test -v ./...
- go vet ./...
when:
branch: master
event: [push, pull_request, tag, deployment]
matrix:
GO_VERSION:
- "1.17"
- "latest"