mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03: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:
|
jobs:
|
||||||
lua-lint:
|
lua-lint:
|
||||||
runs-on: ubuntu-latest
|
uses: FPtje/GLuaFixer/.github/workflows/glualint.yml@master
|
||||||
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
|
|
2
.github/workflows/update_workshop.yaml
vendored
2
.github/workflows/update_workshop.yaml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
|
|
||||||
update-workshop:
|
update-workshop:
|
||||||
if: github.repository == 'CapsAdmin/pac3'
|
if: github.repository == 'CapsAdmin/pac3'
|
||||||
needs: linter
|
# needs: linter
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- 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" ],
|
"tags" : [ "fun", "roleplay" ],
|
||||||
"ignore" :
|
"ignore" :
|
||||||
[
|
[
|
||||||
".gitignore",
|
|
||||||
".editorconfig",
|
".editorconfig",
|
||||||
".git*",
|
".git*",
|
||||||
|
".gitignore",
|
||||||
|
".glualint.json",
|
||||||
".vscode/*",
|
".vscode/*",
|
||||||
"*.txt",
|
|
||||||
"*.md",
|
|
||||||
"*.bat",
|
|
||||||
"*.sh",
|
|
||||||
"icon.jpg",
|
|
||||||
"*.7z",
|
"*.7z",
|
||||||
|
"*.bat",
|
||||||
"*.md",
|
"*.md",
|
||||||
|
"*.md",
|
||||||
|
"*.sh",
|
||||||
|
"*.txt",
|
||||||
"*.yml",
|
"*.yml",
|
||||||
"COPYING"
|
"COPYING",
|
||||||
|
"icon.jpg"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -4,18 +4,19 @@
|
|||||||
"tags" : [ "fun", "roleplay" ],
|
"tags" : [ "fun", "roleplay" ],
|
||||||
"ignore" :
|
"ignore" :
|
||||||
[
|
[
|
||||||
".gitignore",
|
|
||||||
".editorconfig",
|
".editorconfig",
|
||||||
".git*",
|
".git*",
|
||||||
|
".gitignore",
|
||||||
|
".glualint.json",
|
||||||
".vscode/*",
|
".vscode/*",
|
||||||
"*.txt",
|
|
||||||
"*.md",
|
|
||||||
"*.bat",
|
|
||||||
"*.sh",
|
|
||||||
"icon.jpg",
|
|
||||||
"*.7z",
|
"*.7z",
|
||||||
|
"*.bat",
|
||||||
"*.md",
|
"*.md",
|
||||||
|
"*.md",
|
||||||
|
"*.sh",
|
||||||
|
"*.txt",
|
||||||
"*.yml",
|
"*.yml",
|
||||||
"COPYING"
|
"COPYING",
|
||||||
|
"icon.jpg"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user