nvim/.github/workflows/stylua.yaml
Jeremie Fraeys 6c762c436a
Some checks failed
Luacheck / luacheck (push) Failing after 4s
StyLua / stylua (push) Failing after 2s
fix: endx typo in lsp-servers.lua
2026-02-08 15:08:04 -05:00

23 lines
503 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
- run: |
curl -L -o stylua.zip "https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux.zip"
unzip stylua.zip
chmod +x stylua
- run: ./stylua --check .