gogitlabber/.woodpecker/lint-test-release.yml
Simon Cornet 9e3cf6f922
All checks were successful
ci/woodpecker/manual/gitleaks Pipeline was successful
ci/woodpecker/manual/lint-test-release Pipeline was successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/lint-test-release Pipeline was successful
chore: update go-build image to cr.simoncor.net/go-build:latest
2026-05-19 18:00:49 +02:00

37 lines
760 B
YAML

---
steps:
- name: "linting"
image: "cr.simoncor.net/dockerhub/golangci/golangci-lint:v2.12.2-alpine"
commands:
- "golangci-lint run"
when:
- event:
- "push"
- "pull_request"
- "tag"
- name: "testing"
image: "cr.simoncor.net/go-build:latest"
depends_on:
- "linting"
commands:
- "go test ./..."
when:
- event:
- "push"
- "pull_request"
- "tag"
- name: "releasing"
image: "cr.simoncor.net/dockerhub/goreleaser/goreleaser:v2.15.4"
depends_on:
- "testing"
environment:
GITEA_TOKEN:
from_secret: "goreleaser_forgejo_token"
commands:
- "goreleaser release --clean"
when:
- event: "tag"