Improvements in the woodpecker pipeline (#20) #21
|
@ -1,4 +1,5 @@
|
|||
variables:
|
||||
- &golang_image 'golang:1.18'
|
||||
- &when_path_lua
|
||||
- ".woodpecker/lint.yml"
|
||||
- "justfile"
|
||||
|
@ -9,6 +10,14 @@ variables:
|
|||
- "**/*.tl"
|
||||
|
||||
pipeline:
|
||||
lint-pipeline:
|
||||
image: *golang_image
|
||||
commands:
|
||||
- go run github.com/woodpecker-ci/woodpecker/cmd/cli lint
|
||||
when:
|
||||
path:
|
||||
- ".woodpecker/**"
|
||||
|
||||
lint-lua:
|
||||
image: ghcr.io/lunarmodules/luacheck:v0.26.1
|
||||
group: lint
|
||||
|
|
Loading…
Reference in New Issue