File tree Expand file tree Collapse file tree 2 files changed +12
-20
lines changed
Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,19 @@ jobs:
1515 - name : Checkout
1616 uses : actions/checkout@v2
1717 - name : Setup Lua
18- uses : leafo/gh-actions-lua@v6
18+ uses : leafo/gh-actions-lua@v7
1919 with :
2020 luaVersion : ${{ matrix.luaVersion }}
21- - name : Setup Lua Rocks
22- uses : leafo/gh-actions-luarocks@v2
21+ - name : Setup Luarocks
22+ uses : leafo/gh-actions-luarocks@v3
2323 - name : Setup dependencies
2424 run : |
2525 luarocks install --only-deps fluent-scm-0.rockspec
2626 luarocks install busted
2727 luarocks install dkjson
2828 luarocks install luafilesystem
2929 luarocks install lua-path
30- luarocks install https://raw.githubusercontent.com/alerque /luacov-coveralls/master/rockspecs/luacov-coveralls-scm-0.rockspec
30+ luarocks install https://raw.githubusercontent.com/moteus /luacov-coveralls/master/rockspecs/luacov-coveralls-scm-0.rockspec
3131 - name : Run Busted Tests
3232 run : busted -c -v
3333 - name : Report Test Coverage
Original file line number Diff line number Diff line change @@ -3,25 +3,17 @@ name: Luacheck
33on : [push, pull_request]
44
55jobs :
6- luacheck :
7- strategy :
8- fail-fast : false
9- matrix :
10- luaVersion : ["5.3"]
116
7+ luacheck :
128 runs-on : ubuntu-latest
13-
149 steps :
1510 - name : Checkout
16- uses : actions/checkout@master
11+ uses : actions/checkout@v2
1712 - name : Setup Lua
18- uses : leafo/gh-actions-lua@v5
19- with :
20- luaVersion : ${{ matrix.luaVersion }}
21- - name : Setup Lua Rocks
22- uses : leafo/gh-actions-luarocks@v2
23- - name : Setup dependencies
24- run : |
25- luarocks install luacheck
26- - name : Run Code Linter
13+ uses : leafo/gh-actions-lua@v7
14+ - name : Setup Luarocks
15+ uses : leafo/gh-actions-luarocks@v3
16+ - name : Install luacheck
17+ run : luarocks install luacheck
18+ - name : Lint all the Lua code
2719 run : luacheck .
You can’t perform that action at this time.
0 commit comments