updated CI pipeline
PR Prerequisites / Bundles Without Errors (pull_request) Failing after 4s
PR Prerequisites / Lua Check (pull_request) Failing after 11s

This commit is contained in:
2026-09-10 17:11:54 +02:00
parent 60a4d6e88c
commit c4683fb80c
5 changed files with 29 additions and 10 deletions
+5
View File
@@ -53,6 +53,11 @@ jobs:
with: with:
luaVersion: ${{ env.LUA_VERSION }} luaVersion: ${{ env.LUA_VERSION }}
- name: Install Dcs Plugins
uses: https://git.dutchie031.com/dutchie031/DcsMissionScriptingTools/github-actions/install-lua-addon@install-lua-addon/v1
with:
destination-path: "./.vscode/lua-addons" ##same as local so .luarc.json can be the same
- name: Install lua-language-server - name: Install lua-language-server
run: | run: |
mkdir -p ./luals mkdir -p ./luals
+1
View File
@@ -3,5 +3,6 @@
/dist /dist
.vscode/lua-addons
.vscode/settings.json .vscode/settings.json
**\settings.json **\settings.json
+15 -5
View File
@@ -4,10 +4,6 @@
"version": "Lua 5.1" "version": "Lua 5.1"
}, },
"workspace": { "workspace": {
"library": [
"./src",
"./DcsTypes.lua"
],
"checkThirdParty": false "checkThirdParty": false
}, },
"diagnostics": { "diagnostics": {
@@ -17,7 +13,21 @@
], ],
"severity": { "severity": {
"undefined-field": "Warning", "undefined-field": "Warning",
"unused-local": "Warning" "unused-local": "Warning",
"unused-function": "Warning"
},
"groupFileStatus": {
"ambiguity": "Any",
"await": "Any",
"duplicate": "Any",
"global": "Any",
"luadoc": "Any",
"redefined": "Any",
"strict": "Any",
"type-check": "Any",
"unbalanced": "Any",
"unused": "Any"
} }
}, },
"hint": { "hint": {
+5 -4
View File
@@ -1,5 +1,6 @@
{ {
"recommendations": [ "recommendations": [
"sumneko.lua" "dutchie031.dutchies-dcs-scripting-tools",
] "sumneko.lua",
]
} }
+3 -1
View File
@@ -141,7 +141,9 @@ do
end end
---@param dir string @BaseDirectory ---@param dir string @BaseDirectory
---@return string ---@param startsWith string
---@param default string?
---@return string?
local getLastFileOrDefault = function(dir, startsWith, default) local getLastFileOrDefault = function(dir, startsWith, default)
local latestFile, lastNumber = default, 0 local latestFile, lastNumber = default, 0