File tree Expand file tree Collapse file tree 1 file changed +23
-16
lines changed Expand file tree Collapse file tree 1 file changed +23
-16
lines changed Original file line number Diff line number Diff line change 88 branches :
99 - master
1010
11+ permissions :
12+ contents : read
13+
1114jobs :
12- luacheck :
13- name : luacheck
15+ lint :
1416 runs-on : ubuntu-latest
1517 steps :
16- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v3
19+
20+ - uses : leafo/gh-actions-lua@v10
21+ with :
22+ luaVersion : " 5.1"
23+
24+ - uses : leafo/gh-actions-luarocks@v4
1725
18- - name : Prepare
26+ - name : luacheck
1927 run : |
20- sudo apt-get update
21- sudo add-apt-repository universe
22- sudo apt install luarocks -y
23- sudo luarocks install luacheck
24- - name : Run luacheck
25- run : luacheck .
26- stylua :
27- name : stylua
28+ luarocks install luacheck 1.1.1
29+ luacheck lua
30+
31+ style :
2832 runs-on : ubuntu-latest
2933 steps :
30- - uses : actions/checkout@v4
31- - uses : JohnnyMorganz/stylua-action@v3
34+ - uses : actions/checkout@v3
35+
36+ - name : stylua
37+ uses : JohnnyMorganz/stylua-action@v3
3238 with :
3339 token : ${{ secrets.GITHUB_TOKEN }}
34- version : latest
35- args : --color always --check lua/
40+ version : " 0.19"
41+ args : --check lua
42+
You can’t perform that action at this time.
0 commit comments