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:
|
pipeline:
|
||||||
lint:
|
lint:
|
||||||
image: ghcr.io/lunarmodules/luacheck:v0.26.1
|
image: ghcr.io/lunarmodules/luacheck:v0.26.1
|
||||||
|
@ -6,8 +11,7 @@ pipeline:
|
||||||
- apk add just
|
- apk add just
|
||||||
- just check-lua
|
- just check-lua
|
||||||
when:
|
when:
|
||||||
path:
|
path: *when_path
|
||||||
include: [".woodpecker/lint.yml", "*.lua"]
|
|
||||||
|
|
||||||
style:
|
style:
|
||||||
image: alpine:edge # Stylua is only available on edge repository for now
|
image: alpine:edge # Stylua is only available on edge repository for now
|
||||||
|
@ -16,5 +20,4 @@ pipeline:
|
||||||
- apk add just stylua
|
- apk add just stylua
|
||||||
- just check-format
|
- just check-format
|
||||||
when:
|
when:
|
||||||
path:
|
path: *when_path
|
||||||
include: [".woodpecker/lint.yml", "*.lua"]
|
|
||||||
|
|
Loading…
Reference in New Issue