ci: use our images 🚀
This commit is contained in:
parent
740afce61b
commit
e332d6a98a
|
@ -8,6 +8,7 @@
|
|||
},
|
||||
"cSpell.words": [
|
||||
"aireone",
|
||||
"aire-one",
|
||||
"ansicolors",
|
||||
"awesomewm",
|
||||
"buildx",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue