update CI to use the official glualint action [skip ci]

This commit is contained in:
techbot 2023-10-27 18:18:54 +02:00
parent 8b98f8e0a1
commit 4c1f357717
5 changed files with 26 additions and 29 deletions

View File

@ -7,17 +7,4 @@ on:
jobs:
lua-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: GLua Linter
uses: TASSIA710/action-glua-lint@v1.1.4
with:
lint_maxScopeDepth: 0
lint_deprecated: false
lint_emptyBlocks: false
lint_unusedParameters: false
lint_unusedLoopVars: false
lint_shadowing: false
uses: FPtje/GLuaFixer/.github/workflows/glualint.yml@master

View File

@ -13,7 +13,7 @@ jobs:
update-workshop:
if: github.repository == 'CapsAdmin/pac3'
needs: linter
# needs: linter
runs-on: ubuntu-latest
steps:
- name: Checkout

8
.glualint.json Normal file
View File

@ -0,0 +1,8 @@
{
"lint_maxScopeDepth": 0,
"lint_shadowing": false,
"lint_spaceAfterComma": true,
"lint_ignoreFiles": [
"lua/entities/gmod_wire_expression2/*"
]
}

View File

@ -4,18 +4,19 @@
"tags" : [ "fun", "roleplay" ],
"ignore" :
[
".gitignore",
".editorconfig",
".git*",
".gitignore",
".glualint.json",
".vscode/*",
"*.txt",
"*.md",
"*.bat",
"*.sh",
"icon.jpg",
"*.7z",
"*.bat",
"*.md",
"*.md",
"*.sh",
"*.txt",
"*.yml",
"COPYING"
"COPYING",
"icon.jpg"
]
}

View File

@ -4,18 +4,19 @@
"tags" : [ "fun", "roleplay" ],
"ignore" :
[
".gitignore",
".editorconfig",
".git*",
".gitignore",
".glualint.json",
".vscode/*",
"*.txt",
"*.md",
"*.bat",
"*.sh",
"icon.jpg",
"*.7z",
"*.bat",
"*.md",
"*.md",
"*.sh",
"*.txt",
"*.yml",
"COPYING"
"COPYING",
"icon.jpg"
]
}