Skip to content

Commit 62fe224

Browse files
authored
Update CI (#68)
* update luarocks action * apt-get update * run tests on pull request as well
1 parent f8e36f8 commit 62fe224

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: test
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
test:
@@ -29,7 +29,7 @@ jobs:
2929
luaVersion: ${{ matrix.luaVersion }}
3030
luaCompileFlags: CC=${{ matrix.cc }}
3131

32-
- uses: leafo/gh-actions-luarocks@v2
32+
- uses: leafo/gh-actions-luarocks@master
3333

3434
- name: runtests.sh
3535
env:
@@ -42,6 +42,7 @@ jobs:
4242
CC: ${{ matrix.cc }}
4343
run: |
4444
make PREFIX=.lua ${{ matrix.runtestArgs }}
45+
sudo apt-get update
4546
sudo apt-get install -q valgrind libipc-run3-perl cppcheck cpanminus
4647
sudo cpanm --notest Test::Base Test::LongString
4748

0 commit comments

Comments
 (0)