From ff455b24fbe797a83c52003c229a3968e5e710d2 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 2 Dec 2025 20:35:09 +0100 Subject: [PATCH] fix yaml --- .woodpecker/build.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 94a44df..9417833 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -1,4 +1,4 @@ - matrix: +matrix: platform: - linux/amd64 goversion: @@ -16,15 +16,15 @@ steps: - go get - go build - # linter: - # when: - # event: [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 ./... - # depends_on: [build] + linter: + when: + event: [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 ./... + depends_on: [build] test: when: