ci(lint): fix when_path
ci/woodpecker/push/lint Pipeline was successful
Details
ci/woodpecker/push/lint Pipeline was successful
Details
This commit is contained in:
parent
d4bbc7bb12
commit
48c1a6df85
|
@ -1,3 +1,8 @@
|
|||
variables:
|
||||
- &when_path
|
||||
- ".woodpecker/lint.yml"
|
||||
- "**/*.lua"
|
||||
|
||||
pipeline:
|
||||
lint:
|
||||
image: ghcr.io/lunarmodules/luacheck:v0.26.1
|
||||
|
@ -6,8 +11,7 @@ pipeline:
|
|||
- apk add just
|
||||
- just check-lua
|
||||
when:
|
||||
path:
|
||||
include: [".woodpecker/lint.yml", "*.lua"]
|
||||
path: *when_path
|
||||
|
||||
style:
|
||||
image: alpine:edge # Stylua is only available on edge repository for now
|
||||
|
@ -16,5 +20,4 @@ pipeline:
|
|||
- apk add just stylua
|
||||
- just check-format
|
||||
when:
|
||||
path:
|
||||
include: [".woodpecker/lint.yml", "*.lua"]
|
||||
path: *when_path
|
||||
|
|
Loading…
Reference in New Issue