Skip to content

Commit 15cd1c3

Browse files
committed
fix luarocks to v5
1 parent 9270aa4 commit 15cd1c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
luacheck:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010
- uses: leafo/gh-actions-lua@v8
1111
with:
1212
luaVersion: "luajit-openresty"
@@ -32,7 +32,7 @@ jobs:
3232
options: --init
3333

3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v4
3636
- name: Install deps
3737
run: |
3838
apk add --no-cache curl perl bash wget git perl-dev libarchive-tools nodejs
@@ -54,11 +54,11 @@ jobs:
5454

5555
- name: Install Luacov
5656
run: |
57+
# Clear luarocks cache to avoid manifest corruption
58+
rm -rf ~/.cache/luarocks || true
5759
/usr/local/openresty/luajit/bin/luarocks install luacov
5860
/usr/local/openresty/luajit/bin/luarocks install lua-resty-openssl
5961
60-
- uses: actions/checkout@v2
61-
6262
- name: Run tests
6363
run: make coverage
6464

0 commit comments

Comments
 (0)