ci(lint): fix `when` closes
This commit is contained in:
parent
55db082f61
commit
485ff3bff9
|
@ -5,14 +5,16 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- apk add just
|
- apk add just
|
||||||
- just check-lua
|
- just check-lua
|
||||||
|
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:
|
||||||
branch: master
|
|
||||||
path:
|
path:
|
||||||
include: [ '.woodpecker/lint.yml', '*.lua' ]
|
include: [".woodpecker/lint.yml", "*.lua"]
|
||||||
|
|
Loading…
Reference in New Issue