nvim/.github/workflows/luacheck.yaml
Jeremie Fraeys ba42701d43
Some checks failed
Luacheck / luacheck (push) Failing after 12s
StyLua / stylua (push) Failing after 2s
ci: remove container, run directly on Ubuntu host
2026-02-08 15:12:16 -05:00

21 lines
436 B
YAML

---
# Lint Lua code
name: Luacheck
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
luacheck:
runs-on: self-hosted
steps:
- run: |
if ! command -v luacheck &> /dev/null; then
sudo apt-get update
sudo apt-get install -y lua-check
fi
- run: git clone --depth=1 $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git repo
- run: cd repo && luacheck .