add lua diagnostics to pipeline

This commit is contained in:
Juraj Vajda 2022-11-03 11:54:47 -04:00
parent 60ec3a6132
commit ae40dd7232
2 changed files with 16 additions and 3 deletions

View File

@ -2,6 +2,19 @@ unused_args = false
allow_defined_top = true
max_line_length = false
exclude_files = {
'./scripts',
'./bin',
'./logs',
'./node_modules',
'./sounds',
'./textures',
'./models',
'./docs',
'./locale',
'./types',
}
globals = {
'XBows',
'XBowsQuiver',

View File

@ -5,7 +5,7 @@ pipelines:
"**":
- parallel:
- step:
name: Lint code
name: Lua Check
script:
- apt-get update
- apt-get -y install lua5.1
@ -25,7 +25,7 @@ pipelines:
master:
- parallel:
- step:
name: Lint code
name: Lua Check
script:
- apt-get update
- apt-get -y install lua5.1
@ -45,7 +45,7 @@ pipelines:
"*":
- parallel:
- step:
name: Lint code
name: Lua Check
script:
- apt-get update
- apt-get -y install lua5.1