Skip to content

Commit 4e0c50e

Browse files
committed
ci: Bump utility Action versions
1 parent 382a1a2 commit 4e0c50e

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed

.github/workflows/busted.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/luacheck.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,17 @@ name: Luacheck
33
on: [push, pull_request]
44

55
jobs:
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 .

0 commit comments

Comments
 (0)