From 7ef8074ba94680f8bf520f29766dbc1182d248bc Mon Sep 17 00:00:00 2001 From: Ada Date: Wed, 10 Apr 2024 19:24:54 +0200 Subject: [PATCH] Fix ci --- .woodpecker/lint.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index ba20802..ad11d94 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -1,5 +1,11 @@ steps: lint: - image: golangci/golangci-lint + image: golang:1.22 commands: - - golangci-lint run \ No newline at end of file + - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest + - golangci-lint run + when: + - event: pull_request + repo: gnouseu/plakken + - event: push + branch: main \ No newline at end of file