fix when again
This commit is contained in:
parent
f6487395a2
commit
03757cc65b
|
@ -1,8 +1,3 @@
|
||||||
variables: &when
|
|
||||||
when:
|
|
||||||
path:
|
|
||||||
include: [".woodpecker/lint.yml", "*.lua"]
|
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
lint:
|
lint:
|
||||||
image: ghcr.io/lunarmodules/luacheck:v0.26.1
|
image: ghcr.io/lunarmodules/luacheck:v0.26.1
|
||||||
|
@ -10,11 +5,16 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- apk add just
|
- apk add just
|
||||||
- just check-lua
|
- just check-lua
|
||||||
when: *when
|
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
|
||||||
group: lint
|
group: lint
|
||||||
commands:
|
commands:
|
||||||
- apk add just stylua
|
- apk add just stylua
|
||||||
- just check-format
|
- just check-format
|
||||||
when: *when
|
when:
|
||||||
|
path:
|
||||||
|
include: [".woodpecker/lint.yml", "*.lua"]
|
||||||
|
|
Loading…
Reference in New Issue