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