added lua check CI step #49

Merged
dutchie031 merged 72 commits from CI into develop 2026-09-20 16:08:04 +00:00
Showing only changes of commit 0e1650648f - Show all commits
+19
View File
@@ -38,6 +38,25 @@ jobs:
- name: Install luacheck - name: Install luacheck
run: luarocks install luacheck run: luarocks install luacheck
- name: Create LuaCheck Config
run: |
cat << EOF
std = {
globals = {
"SpearheadConfig"
},
read_globals = {
"lfs", "env", "net", "trigger", "timer", "Object"
}
}
max_line_length = false
EOF
> .luacheckrc
- name: Show LuaCheck Config
run: cat .luacheckrc
- name: Lint Compiled Output - name: Lint Compiled Output
run: luacheck ./output/spearhead.lua run: luacheck ./output/spearhead.lua