Improvements in the woodpecker pipeline (#20) #21
|
@ -1,5 +1,4 @@
|
||||||
variables:
|
variables:
|
||||||
- &golang_image 'golang:1.18'
|
|
||||||
- &when_path_lua
|
- &when_path_lua
|
||||||
- ".woodpecker/lint.yml"
|
- ".woodpecker/lint.yml"
|
||||||
- "justfile"
|
- "justfile"
|
||||||
|
@ -11,9 +10,12 @@ variables:
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
lint-pipeline:
|
lint-pipeline:
|
||||||
image: *golang_image
|
image: woodpeckerci/woodpecker-cli:v0.15.5-alpine
|
||||||
|
group: lint
|
||||||
commands:
|
commands:
|
||||||
- go run github.com/woodpecker-ci/woodpecker/cmd/cli lint
|
- echo "before"
|
||||||
|
- woodpecker-cli lint
|
||||||
|
- echo "after"
|
||||||
when:
|
when:
|
||||||
path:
|
path:
|
||||||
- ".woodpecker/**"
|
- ".woodpecker/**"
|
||||||
|
|
Loading…
Reference in New Issue