Skip to content

Commit 8213291

Browse files
authored
ci: use up-to-date actions to work with Lua 5.5 and LuaRocks 3.13.0 (#78)
1 parent 8380e99 commit 8213291

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/luacheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ jobs:
88
runs-on: ubuntu-24.04
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v6
1212
- name: Luacheck
1313
uses: lunarmodules/luacheck@v1

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: [ "ubuntu-24.04", "macos-14", "windows-2025" ]
12-
luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ]
11+
os: [ "ubuntu-24.04", "macos-15", "windows-2025" ]
12+
luaVersion: [ "5.5", "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ]
1313
runs-on: ${{ matrix.os }}
1414
env:
1515
LUAROCKS_WINDOWS_DEPS_DIR: C:\external
1616
WINDOWS_ZLIB_VERSION: 1.3.1
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020
- name: Setup MSVC command prompt
2121
if: ${{ runner.os == 'Windows' && !startsWith(matrix.luaVersion, 'luajit') }}
2222
uses: ilammy/msvc-dev-cmd@v1
2323
- name: Setup ‘lua’
24-
uses: luarocks/gh-actions-lua@v10
24+
uses: luarocks/gh-actions-lua@816ec4c55af2f6dcb9dfcba372d93dd1fb5fa8f2
2525
with:
2626
luaVersion: ${{ matrix.luaVersion }}
2727
- name: Setup ‘luarocks’
28-
uses: luarocks/gh-actions-luarocks@v5
28+
uses: luarocks/gh-actions-luarocks@e42874645a111d78a858c3dba7530bdd707b21a4
2929
- name: Restore zlib tarball on Windows
3030
if: ${{ runner.os == 'Windows' }}
3131
id: restore-zlib-tarball
32-
uses: actions/cache/restore@v4
32+
uses: actions/cache/restore@v5
3333
with:
3434
path: "zlib-${{ env.WINDOWS_ZLIB_VERSION }}.tar.gz"
3535
key: "zlib-${{ env.WINDOWS_ZLIB_VERSION }}"
@@ -38,7 +38,7 @@ jobs:
3838
run: curl -L -O "https://zlib.net/fossils/zlib-${{ env.WINDOWS_ZLIB_VERSION }}.tar.gz"
3939
- name: Save zlib tarball
4040
if: ${{ runner.os == 'Windows' && steps.restore-zlib-tarball.outputs.cache-hit != 'true' }}
41-
uses: actions/cache/save@v4
41+
uses: actions/cache/save@v5
4242
with:
4343
path: "zlib-${{ env.WINDOWS_ZLIB_VERSION }}.tar.gz"
4444
key: "zlib-${{ env.WINDOWS_ZLIB_VERSION }}"

0 commit comments

Comments
 (0)