2022-08-13 03:10:11 +02:00
|
|
|
variables:
|
2022-08-20 13:32:23 +02:00
|
|
|
- &when_path_lua
|
2022-08-13 03:10:11 +02:00
|
|
|
- ".woodpecker/lint.yml"
|
2022-09-11 01:35:30 +02:00
|
|
|
- "justfile"
|
2022-08-13 03:10:11 +02:00
|
|
|
- "**/*.lua"
|
2022-08-20 13:32:23 +02:00
|
|
|
- &when_path_teal
|
|
|
|
- ".woodpecker/lint.yml"
|
2022-09-11 01:35:30 +02:00
|
|
|
- "justfile"
|
2022-08-20 13:32:23 +02:00
|
|
|
- "**/*.tl"
|
2022-08-13 03:10:11 +02:00
|
|
|
|
2022-08-12 19:10:51 +02:00
|
|
|
pipeline:
|
2023-05-01 16:35:22 +02:00
|
|
|
lint-pipeline:
|
|
|
|
image: woodpeckerci/woodpecker-cli:next-alpine
|
|
|
|
group: lint
|
|
|
|
commands:
|
|
|
|
- woodpecker-cli lint .woodpecker/*.yml
|
|
|
|
when:
|
|
|
|
path:
|
|
|
|
- ".woodpecker/**"
|
2022-10-23 13:26:05 +02:00
|
|
|
|
2022-08-20 13:32:23 +02:00
|
|
|
lint-lua:
|
2022-12-09 20:11:28 +01:00
|
|
|
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/luacheck_just:latest
|
2022-08-12 19:10:51 +02:00
|
|
|
group: lint
|
|
|
|
commands:
|
|
|
|
- just check-lua
|
2022-08-12 19:45:52 +02:00
|
|
|
when:
|
2022-08-20 13:32:23 +02:00
|
|
|
path: *when_path_lua
|
2022-08-12 19:45:52 +02:00
|
|
|
|
2022-08-20 13:32:23 +02:00
|
|
|
style-lua:
|
2022-12-09 20:11:28 +01:00
|
|
|
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/stylua_just:latest
|
2022-08-12 19:10:51 +02:00
|
|
|
group: lint
|
|
|
|
commands:
|
|
|
|
- just check-format
|
2022-08-12 19:45:52 +02:00
|
|
|
when:
|
2022-08-20 13:32:23 +02:00
|
|
|
path: *when_path_lua
|
|
|
|
|
|
|
|
lint-teal:
|
2022-12-09 20:11:28 +01:00
|
|
|
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/cyan:latest
|
2022-08-20 13:32:23 +02:00
|
|
|
group: lint
|
|
|
|
commands:
|
|
|
|
- just check-teal
|
|
|
|
when:
|
|
|
|
path: *when_path_teal
|
2022-10-23 19:01:39 +02:00
|
|
|
|
|
|
|
branches: master
|
2023-04-24 01:05:01 +02:00
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- docker-build
|