From 7a62b2d19dfa57699e215c042d15e1fbbe54757a Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 28 Oct 2025 22:38:13 +0100 Subject: [PATCH] add linter --- .woodpecker/build.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 8c41f3d..44f1793 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -3,7 +3,6 @@ matrix: - linux/amd64 goversion: - 1.24 - - 1.23 labels: platform: ${platform} @@ -17,3 +16,11 @@ steps: - go get - go build - go test + + linter: + when: + event: [push] + image: golang:${goversion} + commands: + - go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.5.0 + - golangci-lint run ./...