nvim/.github/workflows/stylua.yaml
Jeremie Fraeys 436c150419
Some checks failed
Luacheck / luacheck (push) Failing after 2s
StyLua / stylua (push) Failing after 3s
ci: add shell: /bin/sh to avoid node dependency
2026-02-08 15:09:14 -05:00

26 lines
572 B
YAML

---
# Check Lua Formatting
name: StyLua
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
stylua:
runs-on: self-hosted
container:
image: alpine:latest
steps:
- uses: actions/checkout@v4
- run: apk add --no-cache curl unzip git
shell: /bin/sh
- run: |
curl -L -o stylua.zip "https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux.zip"
unzip stylua.zip
chmod +x stylua
shell: /bin/sh
- run: ./stylua --check .
shell: /bin/sh