ezshare/.woodpecker/test.yml

16 lines
268 B
YAML
Raw Normal View History

2022-01-05 00:40:59 +00:00
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"