updated CI pipeline
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
|
||||
/dist
|
||||
|
||||
.vscode/lua-addons
|
||||
.vscode/settings.json
|
||||
**\settings.json
|
||||
+15
-5
@@ -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": {
|
||||
|
||||
Vendored
+5
-4
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"sumneko.lua"
|
||||
]
|
||||
{
|
||||
"recommendations": [
|
||||
"dutchie031.dutchies-dcs-scripting-tools",
|
||||
"sumneko.lua",
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user