ezshare/.woodpecker.yml

16 lines
255 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"