Skip to content

feat: Integrate LuaLS check in CI#7112

Open
mbergen wants to merge 64 commits into
mainfrom
ci-luals
Open

feat: Integrate LuaLS check in CI#7112
mbergen wants to merge 64 commits into
mainfrom
ci-luals

Conversation

@mbergen

@mbergen mbergen commented Feb 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Uses LuaLS' --check to check for type errors wrt to annotations in CI.

Only report errors in lua files changed in a PR.

How did you test this change?

Self-tested in actions:
Screenshot from 2026-06-19 09-47-57
https://github.com/Liquipedia/Lua-Modules/actions/runs/23975512581/job/69931841239?pr=7112

@mbergen mbergen added the CI/CD label Feb 18, 2026
@mbergen

mbergen commented Feb 18, 2026

Copy link
Copy Markdown
Collaborator Author

Debugging Github Workflows is so much fun 🙃

@mbergen mbergen marked this pull request as ready for review February 18, 2026 15:00
@mbergen mbergen requested review from a team as code owners February 18, 2026 15:00
Comment thread lua/wikis/ageofempires/PrizePool/Custom.lua
Comment thread .github/workflows/luacheck.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR integrates LuaLS (lua-language-server --check) into the existing CI workflow to surface type/annotation-related diagnostics during pull request validation, with the intent to only report diagnostics for Lua files changed by the PR.

Changes:

  • Adds a new luals-code-style job to .github/workflows/luacheck.yml.
  • Detects changed Lua files in lua/wikis/**/*.lua using tj-actions/changed-files.
  • Downloads LuaLS and runs lua-language-server --check in CI, emitting a step summary.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/luacheck.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants