diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 3e92771..a18131f 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -1,5 +1,4 @@ variables: - - &golang_image 'golang:1.18' - &when_path_lua - ".woodpecker/lint.yml" - "justfile" @@ -11,9 +10,12 @@ variables: pipeline: lint-pipeline: - image: *golang_image + image: woodpeckerci/woodpecker-cli:v0.15.5-alpine + group: lint commands: - - go run github.com/woodpecker-ci/woodpecker/cmd/cli lint + - echo "before" + - woodpecker-cli lint + - echo "after" when: path: - ".woodpecker/**"