File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11name : Check scripts with luacheck
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ branches : [master]
6+ paths : ["**/*.lua"]
7+ pull_request :
8+ paths : ["**/*.lua"]
49
510jobs :
611 luacheck :
@@ -15,13 +20,13 @@ jobs:
1520 - ver : luajit-2.0.5
1621 std : luajit
1722 steps :
18- - uses : actions/checkout@v2
23+ - uses : actions/checkout@v4
1924 name : Checkout repository
20- - uses : leafo/gh-actions-lua@v8.0.0
25+ - uses : leafo/gh-actions-lua@ecdb13962d7d7274594480620bb6075504122bfe
2126 name : Install lua [${{matrix.lua.ver}}]
2227 with :
2328 luaVersion : ${{matrix.lua.ver}}
24- - uses : leafo/gh-actions-luarocks@v4.0.0
29+ - uses : leafo/gh-actions-luarocks@4dcae7fc5aff45e847b32f62b60a13167e912395
2530 name : Install luarocks
2631 - name : Install luacheck
2732 run : luarocks install luacheck
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ read_globals = {'mp'}
66
77allow_defined_top = false
88
9- max_line_length = 80
9+ max_line_length = 100
1010
1111max_comment_line_length = false
1212
You can’t perform that action at this time.
0 commit comments