From fd409c860d58e80bdae57e0100df1e3d22bd9e8c 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 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index ba20802..88de52c 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -1,5 +1,10 @@ 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 + - event: push + branch: main \ No newline at end of file