Skip to content

Commit 204674b

Browse files
committed
fix luarocks error
1 parent 058931a commit 204674b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
rm -rf /usr/local/openresty/luajit/bin/luarocks* || true
5959
# Download and install latest LuaRocks
6060
cd /tmp
61-
wget https://luarocks.org/releases/luarocks-3.11.1.tar.gz
62-
tar zxpf luarocks-3.11.1.tar.gz
63-
cd luarocks-3.11.1
61+
wget https://luarocks.org/releases/luarocks-3.12.2.tar.gz
62+
tar zxpf luarocks-3.12.2.tar.gz
63+
cd luarocks-3.12.2
6464
./configure --prefix=/usr/local/openresty/luajit \
6565
--with-lua=/usr/local/openresty/luajit \
6666
--lua-suffix=jit \
@@ -74,6 +74,8 @@ jobs:
7474
/usr/local/openresty/luajit/bin/luarocks install luacov
7575
/usr/local/openresty/luajit/bin/luarocks install lua-resty-openssl
7676
77+
- uses: actions/checkout@v4
78+
7779
- name: Run tests
7880
run: make coverage
7981

0 commit comments

Comments
 (0)