Skip to content

Commit b2553ae

Browse files
authored
Actions luacheck (#424)
* add luacheck github action * remove travis
1 parent 78b848b commit b2553ae

File tree

4 files changed

+28
-23
lines changed

4 files changed

+28
-23
lines changed

.github/workflows/luacheck.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Luacheck
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
submodules: 'true'
13+
14+
15+
- name: Install luacheck
16+
run: |
17+
pip install hererocks
18+
hererocks env --lua 5.1 -rlatest
19+
source env/bin/activate
20+
luarocks install luacheck
21+
22+
- name: Run luacheck
23+
run: |
24+
source env/bin/activate
25+
luacheck scen_edit triggers libs_sb/utils libs_sb/savetable.lua --enable 1
26+

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

dist_cfg/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,5 @@
181181
}
182182
]
183183

184+
184185
}

scen_edit/view/map/water_editor.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function WaterEditor:init()
7878
}),
7979
ColorField({
8080
name = "diffuseColor",
81-
title = "Diffuse Color:",
81+
title = "Diffuse Color:",
8282
tooltip = "The color of the diffuse lighting of the water",
8383
width = 140,
8484
format = 'rgb',

0 commit comments

Comments
 (0)