File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,17 @@ name: Check scripts with luacheck
3
3
on :
4
4
push :
5
5
branches : [master]
6
- paths : ["**/*.lua"]
6
+ paths-ignore :
7
+ - _config.yml
8
+ - LICENSE.txt
9
+ - README.md
10
+ - open-dialog/README.md
7
11
pull_request :
8
- paths : ["**/*.lua"]
12
+ paths-ignore :
13
+ - _config.yml
14
+ - LICENSE.txt
15
+ - README.md
16
+ - open-dialog/README.md
9
17
10
18
jobs :
11
19
luacheck :
@@ -20,14 +28,16 @@ jobs:
20
28
- ver : luajit-2.0.5
21
29
std : luajit
22
30
steps :
23
- - uses : actions/checkout@v4
24
- name : Checkout repository
25
- - uses : leafo/gh-actions- lua@ecdb13962d7d7274594480620bb6075504122bfe
26
- name : Install lua [${{matrix.lua.ver}}]
31
+ - name : Checkout repository
32
+ uses : actions/checkout@v4
33
+ - name : Install lua [${{matrix.lua.ver}}]
34
+ uses : leafo/gh-actions- lua@v11
27
35
with :
28
36
luaVersion : ${{matrix.lua.ver}}
29
- - uses : leafo/gh-actions-luarocks@4dcae7fc5aff45e847b32f62b60a13167e912395
30
- name : Install luarocks
37
+ - name : Install luarocks
38
+ uses : leafo/gh-actions-luarocks@v5
39
+ with :
40
+ luarocksVersion : 3.12.2
31
41
- name : Install luacheck
32
42
run : luarocks install luacheck
33
43
- name : Lint with luacheck
You can’t perform that action at this time.
0 commit comments