ci(lint): fix `when` closes

This commit is contained in:
Aire-One 2022-08-12 19:45:52 +02:00
parent 55db082f61
commit 485ff3bff9
1 changed files with 7 additions and 5 deletions

View File

@ -5,14 +5,16 @@ pipeline:
commands:
- apk add just
- just check-lua
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:
branch: master
path:
include: [ '.woodpecker/lint.yml', '*.lua' ]
include: [".woodpecker/lint.yml", "*.lua"]