Skip to content

Commit fa34b00

Browse files
committed
Update CI workflow for busted
1 parent 02a4abb commit fa34b00

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/busted.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,28 @@ jobs:
1010
luaVersion: ["5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty"]
1111

1212
runs-on: ubuntu-latest
13-
1413
steps:
1514
- name: Checkout
1615
uses: actions/checkout@v2
17-
- name: Setup Lua
18-
uses: leafo/gh-actions-lua@v7
16+
- name: Setup ‘lua’
17+
uses: leafo/gh-actions-lua@v8
1918
with:
2019
luaVersion: ${{ matrix.luaVersion }}
21-
- name: Setup Luarocks
22-
uses: leafo/gh-actions-luarocks@v3
20+
- name: Setup ‘luarocks’
21+
uses: leafo/gh-actions-luarocks@v4
2322
- name: Setup dependencies
2423
run: |
2524
luarocks install --only-deps fluent-dev-0.rockspec
2625
luarocks install busted
2726
luarocks install dkjson
2827
luarocks install luafilesystem
2928
luarocks install lua-path
30-
luarocks install https://raw.githubusercontent.com/moteus/luacov-coveralls/master/rockspecs/luacov-coveralls-scm-0.rockspec
31-
- name: Run Busted Tests
29+
luarocks install luacov-coveralls
30+
- name: Run busted tests
3231
run: busted -c -v
33-
- name: Report Test Coverage
32+
- name: Report test coverage
3433
if: success()
3534
continue-on-error: true
3635
run: luacov-coveralls -i fluent -e .luarocks
3736
env:
38-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
COVERALLS_REPO_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)