forked from GoatG33k/fivem-lua-lint-action
-
Notifications
You must be signed in to change notification settings - Fork 17
/
action.yml
38 lines (38 loc) · 984 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
34
35
36
37
38
# 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: ""
fail_on_warnings:
description: "If the action should fail on warnings or not"
required: false
default: "false"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.args }}
- ${{ inputs.paths }}
- ${{ inputs.config_path }}
- ${{ inputs.capture }}
- ${{ inputs.fail_on_warnings }}
- ${{ inputs.extra_libs }}