Files
esctl/.woodpecker/build.yaml
2026-06-22 13:52:02 +02:00

27 lines
523 B
YAML

matrix:
platform:
- linux/amd64
goversion:
- 1.25.8
labels:
platform: ${platform}
steps:
build:
when:
event: [push,manual]
image: golang:${goversion}
commands:
- go get
- go build
linter:
when:
event: [push,manual]
image: golang:${goversion}
commands:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
- golangci-lint --version
- golangci-lint run ./...