ci(lint): fix the lint-pipeline step
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build unknown status Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/build unknown status Details

This commit is contained in:
Aire-One 2022-10-23 14:08:03 +02:00
parent 7a8dca2e4f
commit d3b373cfaf
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,4 @@
variables:
- &golang_image 'golang:1.18'
- &when_path_lua
- ".woodpecker/lint.yml"
- "justfile"
@ -11,9 +10,10 @@ variables:
pipeline:
lint-pipeline:
image: *golang_image
image: woodpeckerci/woodpecker-cli:v0.15.5
group: lint
commands:
- go run github.com/woodpecker-ci/woodpecker/cmd/cli lint
- woodpecker-cli lint
when:
path:
- ".woodpecker/**"