fix when again
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details

This commit is contained in:
Aire-One 2022-08-12 19:49:18 +02:00
parent f6487395a2
commit 03757cc65b
1 changed files with 7 additions and 7 deletions

View File

@ -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"]