awesomewm.d.tl/.woodpecker/lint.yml

24 lines
451 B
YAML

variables:
- &when_path
- ".woodpecker/lint.yml"
- "**/*.lua"
pipeline:
lint:
image: ghcr.io/lunarmodules/luacheck:v0.26.1
group: lint
commands:
- apk add just
- just check-lua
when:
path: *when_path
style:
image: alpine:edge # Stylua is only available on edge repository for now
group: lint
commands:
- apk add just stylua
- just check-format
when:
path: *when_path