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:
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
run: |
mkdir -p ./luals
+1
View File
@@ -3,5 +3,6 @@
/dist
.vscode/lua-addons
.vscode/settings.json
**\settings.json
+15 -5
View File
@@ -4,10 +4,6 @@
"version": "Lua 5.1"
},
"workspace": {
"library": [
"./src",
"./DcsTypes.lua"
],
"checkThirdParty": false
},
"diagnostics": {
@@ -17,7 +13,21 @@
],
"severity": {
"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": {
+5 -4
View File
@@ -1,5 +1,6 @@
{
"recommendations": [
"sumneko.lua"
]
{
"recommendations": [
"dutchie031.dutchies-dcs-scripting-tools",
"sumneko.lua",
]
}
+3 -1
View File
@@ -141,7 +141,9 @@ do
end
---@param dir string @BaseDirectory
---@return string
---@param startsWith string
---@param default string?
---@return string?
local getLastFileOrDefault = function(dir, startsWith, default)
local latestFile, lastNumber = default, 0