File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Check scripts with luacheck
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ paths : ["**/*.lua"]
7
+ pull_request :
8
+ paths : ["**/*.lua"]
4
9
5
10
jobs :
6
11
luacheck :
@@ -15,13 +20,13 @@ jobs:
15
20
- ver : luajit-2.0.5
16
21
std : luajit
17
22
steps :
18
- - uses : actions/checkout@v2
23
+ - uses : actions/checkout@v4
19
24
name : Checkout repository
20
- - uses : leafo/gh-actions-lua@v8.0.0
25
+ - uses : leafo/gh-actions-lua@ecdb13962d7d7274594480620bb6075504122bfe
21
26
name : Install lua [${{matrix.lua.ver}}]
22
27
with :
23
28
luaVersion : ${{matrix.lua.ver}}
24
- - uses : leafo/gh-actions-luarocks@v4.0.0
29
+ - uses : leafo/gh-actions-luarocks@4dcae7fc5aff45e847b32f62b60a13167e912395
25
30
name : Install luarocks
26
31
- name : Install luacheck
27
32
run : luarocks install luacheck
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ read_globals = {'mp'}
6
6
7
7
allow_defined_top = false
8
8
9
- max_line_length = 80
9
+ max_line_length = 100
10
10
11
11
max_comment_line_length = false
12
12
You can’t perform that action at this time.
0 commit comments