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 8806482450 - Show all commits
+6 -5
View File
@@ -38,16 +38,17 @@ jobs:
- name: Install luacheck
run: luarocks install luacheck
# "lfs",
# "setmetatable", "getmetatable", "table", "string", "math", "pairs", "ipairs",
# "require", "type", "tostring", "io", "error", "pcall", "tonumber",
# "loadstring",
- name: Create LuaCheck Config
run: |
cat << EOF > .luacheckrc
std = {
"lua51c",
globals = {
"lfs",
"setmetatable", "getmetatable", "table", "string", "math", "pairs", "ipairs",
"require", "type", "tostring", "io", "error", "pcall", "tonumber",
"loadstring",
"SpearheadConfig", "SpearheadAPI", "GlobalCapCallBacks",
"env", "net", "trigger", "timer", "Object", "land", "coord", "coalition",
"Unit", "Group", "Airbase", "StaticObject", "SceneryObject", "world",