ezshare/.woodpecker.yml
2022-01-03 20:47:05 +01:00

16 lines
261 B
YAML

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