added CI for all source files
PR Prerequisites / Lua Check (pull_request) Failing after 20s
PR Prerequisites / Bundles Without Errors (pull_request) Failing after 24s

This commit is contained in:
2026-09-08 17:35:21 +02:00
parent 70d18f4ac3
commit 50f2a0eea0
2 changed files with 20 additions and 4 deletions
+20
View File
@@ -37,3 +37,23 @@ jobs:
- name: Lint Compiled Output
run: luacheck ./output/spearhead.lua
lua_check:
runs-on: ubuntu-latest
name: Lua Check
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Lua
uses: leafo/gh-actions-lua@v13
with:
luaVersion: "5.1"
- name: Set up Luarocks
uses: leafo/gh-actions-luarocks@v4
- name: Install luacheck
run: luarocks install luacheck
- name: Run Lua Check
run: luacheck ./src --config .luacheckrc