rio/.woodpecker.yml

16 lines
369 B
YAML
Raw Normal View History

2024-01-01 19:15:23 +00:00
steps:
build:
image: "golang:1.21.5-alpine"
commands:
- go build ./cmd/rio
2024-01-01 19:16:49 +00:00
- go test $(go list ./... | grep -v /vendor/)
2024-01-13 16:58:21 +00:00
when:
2024-01-13 17:00:10 +00:00
- path: "**/*.go"
2024-01-01 19:15:23 +00:00
lint:
image: "golang:1.21.5-alpine"
commands:
- go fmt $(go list ./... | grep -v /vendor/)
2024-01-13 16:58:21 +00:00
- go vet $(go list ./... | grep -v /vendor/)
when:
2024-01-13 17:00:10 +00:00
- path: "**/*.go"