Skip to content

feat(ci): check formatting with lx fmt - #337

Open
rcasia wants to merge 4 commits into
mainfrom
feat/lux-static-analysis
Open

rcasia wants to merge 4 commits into
mainfrom
feat/lux-static-analysis

Conversation

@rcasia

@rcasia rcasia commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Follow-up to #336: run the format check via lux instead of the stylua-action.
- Replace the stylua job in static-analysis.yml with an fmt job that runs lx --lua-version 5.1 fmt (pinned gh-actions-lux 0.46.0) and fails on git diff.
- Keep the system luacheck job: lx lint cannot run on ubuntu runners (lfs.so: undefined symbol: lua_gettop, lux's static Lua can't dlopen C modules) — noted inline in the workflow.
- Add make lux-fmt target + CONTRIBUTING line.
Verified locally: lx fmt is a no-op on the current tree.

@rcasia
rcasia enabled auto-merge (squash) September 23, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant