forked from iLLeniumStudios/fivem-lua-lint-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (33 loc) · 822 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# action.yml
name: "luacheck for FiveM"
description: "Runs luacheck on a project with FiveM natives"
inputs:
args:
description: "luacheck arguments to pass"
required: false
default: "-t"
paths:
description: "the path name to lint lua in"
required: false
default: "."
config_path:
description: "Config file path"
required: false
default: /luacheck-fivem/.luacheckrc.default
capture:
description: "capture output into a file"
required: false
default: ""
extra_libs:
description: "extra definitions to use, in the format of a+b+c"
required: false
default: ""
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.args }}
- ${{ inputs.paths }}
- ${{ inputs.config_path }}
- ${{ inputs.capture }}
- ${{ inputs.extra_libs }}