mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-03 18:53:01 -05:00
update CI to use the official glualint action [skip ci]
This commit is contained in:
parent
8b98f8e0a1
commit
4c1f357717
15
.github/workflows/lua_linter.yaml
vendored
15
.github/workflows/lua_linter.yaml
vendored
@ -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
|
2
.github/workflows/update_workshop.yaml
vendored
2
.github/workflows/update_workshop.yaml
vendored
@ -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
8
.glualint.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"lint_maxScopeDepth": 0,
|
||||
"lint_shadowing": false,
|
||||
"lint_spaceAfterComma": true,
|
||||
"lint_ignoreFiles": [
|
||||
"lua/entities/gmod_wire_expression2/*"
|
||||
]
|
||||
}
|
15
addon.json
15
addon.json
@ -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"
|
||||
]
|
||||
}
|
||||
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user