From d27e261580126e04a1a01dd564b047ae2f935fb9 Mon Sep 17 00:00:00 2001 From: luau-project Date: Tue, 30 Dec 2025 16:02:17 -0300 Subject: [PATCH] ci: use up-to-date actions to work with Lua 5.5 and LuaRocks 3.13.0 --- .github/workflows/luacheck.yml | 2 +- .github/workflows/test.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index fec7402..342b7aa 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Luacheck uses: lunarmodules/luacheck@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6094764..7d0abf3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,28 +8,28 @@ jobs: strategy: fail-fast: false matrix: - os: [ "ubuntu-24.04", "macos-14", "windows-2025" ] - luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ] + os: [ "ubuntu-24.04", "macos-15", "windows-2025" ] + luaVersion: [ "5.5", "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ] runs-on: ${{ matrix.os }} env: LUAROCKS_WINDOWS_DEPS_DIR: C:\external WINDOWS_ZLIB_VERSION: 1.3.1 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup MSVC command prompt if: ${{ runner.os == 'Windows' && !startsWith(matrix.luaVersion, 'luajit') }} uses: ilammy/msvc-dev-cmd@v1 - name: Setup ‘lua’ - uses: luarocks/gh-actions-lua@v10 + uses: luarocks/gh-actions-lua@816ec4c55af2f6dcb9dfcba372d93dd1fb5fa8f2 with: luaVersion: ${{ matrix.luaVersion }} - name: Setup ‘luarocks’ - uses: luarocks/gh-actions-luarocks@v5 + uses: luarocks/gh-actions-luarocks@e42874645a111d78a858c3dba7530bdd707b21a4 - name: Restore zlib tarball on Windows if: ${{ runner.os == 'Windows' }} id: restore-zlib-tarball - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: "zlib-${{ env.WINDOWS_ZLIB_VERSION }}.tar.gz" key: "zlib-${{ env.WINDOWS_ZLIB_VERSION }}" @@ -38,7 +38,7 @@ jobs: run: curl -L -O "https://zlib.net/fossils/zlib-${{ env.WINDOWS_ZLIB_VERSION }}.tar.gz" - name: Save zlib tarball if: ${{ runner.os == 'Windows' && steps.restore-zlib-tarball.outputs.cache-hit != 'true' }} - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: "zlib-${{ env.WINDOWS_ZLIB_VERSION }}.tar.gz" key: "zlib-${{ env.WINDOWS_ZLIB_VERSION }}"