ci: use our images 🚀
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details

This commit is contained in:
Aire-One 2022-12-09 20:11:28 +01:00
parent 740afce61b
commit e332d6a98a
3 changed files with 9 additions and 12 deletions

View File

@ -8,6 +8,7 @@
},
"cSpell.words": [
"aireone",
"aire-one",
"ansicolors",
"awesomewm",
"buildx",

View File

@ -1,14 +1,14 @@
variables:
- &cyan gitea.aireone.xyz/aire-one/awesomewm.d.tl/cyan:latest
pipeline:
prepare:
image: akorn/luarocks:lua5.4-alpine
image: *cyan
commands:
- apk add just gcc libc-dev musl-dev curl-dev
- just install
build:
image: akorn/luarocks:lua5.4-alpine
image: *cyan
commands:
- apk add just gcc musl-dev
- luarocks install cyan
- just build
# run:
# image: akorn/luarocks:lua5.4-alpine

View File

@ -19,29 +19,25 @@ pipeline:
# - ".woodpecker/**"
lint-lua:
image: ghcr.io/lunarmodules/luacheck:v0.26.1
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/luacheck_just:latest
group: lint
commands:
- apk add just
- just check-lua
when:
path: *when_path_lua
style-lua:
image: alpine:edge # Stylua is only available on edge repository for now
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/stylua_just:latest
group: lint
commands:
- apk add just stylua
- just check-format
when:
path: *when_path_lua
lint-teal:
image: akorn/luarocks:lua5.4-alpine
image: gitea.aireone.xyz/aire-one/awesomewm.d.tl/cyan:latest
group: lint
commands:
- apk add just gcc libc-dev musl-dev
- luarocks install cyan
- just check-teal
when:
path: *when_path_teal