From 0394cd71dccb499561012eb77bbb702282349dd5 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Fri, 28 Nov 2025 13:17:15 +0100 Subject: [PATCH] Bump all used GitHub Actions --- .github/workflows/android.yml | 14 +++++++------- .github/workflows/cpp_lint.yml | 2 +- .github/workflows/docker_image.yml | 2 +- .github/workflows/linux.yml | 10 +++++----- .github/workflows/lua.yml | 8 ++++---- .github/workflows/lua_api_deploy.yml | 8 ++++---- .github/workflows/macos.yml | 4 ++-- .github/workflows/png_file_checks.yml | 2 +- .github/workflows/whitespace_checks.yml | 6 +++--- .github/workflows/windows.yml | 8 ++++---- 10 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index f404dc8a25..df304c7cfd 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -33,13 +33,13 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | sudo apt-get update sudo apt-get install -y --no-install-recommends gettext - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: 'temurin' java-version: '17' @@ -50,27 +50,27 @@ jobs: # "assemblerelease" is very fast after "bundlerelease". run: cd android; ./gradlew assemblerelease - name: Save AAB artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: Luanti-release.aab path: android/app/build/outputs/bundle/release/app-release.aab - name: Save armeabi artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: Luanti-armeabi-v7a.apk path: android/app/build/outputs/apk/release/app-armeabi-v7a-release-unsigned.apk - name: Save arm64 artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: Luanti-arm64-v8a.apk path: android/app/build/outputs/apk/release/app-arm64-v8a-release-unsigned.apk - name: Save x86 artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: Luanti-x86.apk path: android/app/build/outputs/apk/release/app-x86-release-unsigned.apk - name: Save x86_64 artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: Luanti-x86_64.apk path: android/app/build/outputs/apk/release/app-x86_64-release-unsigned.apk diff --git a/.github/workflows/cpp_lint.yml b/.github/workflows/cpp_lint.yml index 0ec8ebf1d5..7b19d5c742 100644 --- a/.github/workflows/cpp_lint.yml +++ b/.github/workflows/cpp_lint.yml @@ -34,7 +34,7 @@ jobs: clang_tidy: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | source ./util/ci/common.sh diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index 0ea0ad6cae..d30f441bdd 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -49,7 +49,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Docker buildx uses: docker/setup-buildx-action@v3.0.0 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5c8d076ccb..b5f3b35bcc 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -41,7 +41,7 @@ jobs: gcc_9: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | source ./util/ci/common.sh @@ -68,7 +68,7 @@ jobs: gcc_14: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | source ./util/ci/common.sh @@ -94,7 +94,7 @@ jobs: clang_11: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | source ./util/ci/common.sh @@ -121,7 +121,7 @@ jobs: clang_18: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | source ./util/ci/common.sh @@ -151,7 +151,7 @@ jobs: name: "clang (with Prometheus, ARM64)" runs-on: ubuntu-24.04-arm steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | source ./util/ci/common.sh diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 5c474d1687..a9a00da27a 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -21,7 +21,7 @@ jobs: name: "Compile and run multiplayer tests" runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | source ./util/ci/common.sh @@ -49,11 +49,11 @@ jobs: steps: - - uses: actions/checkout@v4 - - uses: leafo/gh-actions-lua@v10 + - uses: actions/checkout@v6 + - uses: leafo/gh-actions-lua@v12 with: luaVersion: "5.1.5" - - uses: leafo/gh-actions-luarocks@v4.3.0 + - uses: leafo/gh-actions-luarocks@v6 - name: Install LuaJIT run: ./util/ci/build_luajit.sh diff --git a/.github/workflows/lua_api_deploy.yml b/.github/workflows/lua_api_deploy.yml index 68db8316f0..3d18598907 100644 --- a/.github/workflows/lua_api_deploy.yml +++ b/.github/workflows/lua_api_deploy.yml @@ -19,10 +19,10 @@ jobs: if: github.repository == 'luanti-org/luanti' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: 3.11 @@ -36,10 +36,10 @@ jobs: ./build.sh - name: Setup Pages - uses: actions/configure-pages@v4 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v4 with: path: 'public/' diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 28a70be178..438f69cdf4 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -53,7 +53,7 @@ jobs: xcode: "yes" runs-on: macos-15 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Prepare environment run: | @@ -114,7 +114,7 @@ jobs: cpack -G ZIP -B macos - name: Upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: luanti-macos${{matrix.osver}}_${{matrix.arch}} path: ./build/macos/*.zip diff --git a/.github/workflows/png_file_checks.yml b/.github/workflows/png_file_checks.yml index 86cd935275..f612e9bcd2 100644 --- a/.github/workflows/png_file_checks.yml +++ b/.github/workflows/png_file_checks.yml @@ -15,7 +15,7 @@ jobs: png_optimized: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install deps run: | sudo apt-get update diff --git a/.github/workflows/whitespace_checks.yml b/.github/workflows/whitespace_checks.yml index f367d180a5..d6bd1fb109 100644 --- a/.github/workflows/whitespace_checks.yml +++ b/.github/workflows/whitespace_checks.yml @@ -31,7 +31,7 @@ jobs: trailing_whitespaces: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 # Line endings are already ensured by .gitattributes - name: Check trailing whitespaces run: | @@ -48,7 +48,7 @@ jobs: indent_spaces: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 # Line endings are already ensured by .gitattributes # Warning: Multiple multline comments in one line # is not supported by this check and may misbehave. @@ -83,7 +83,7 @@ jobs: tabs_lua_api_files: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 # Some files should not contain tabs - name: Check tabs in Lua API files run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 740c6a3829..7fa88d1648 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -40,7 +40,7 @@ jobs: matrix: bits: [32, 64] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install compiler run: | sudo dpkg --add-architecture i386 @@ -61,7 +61,7 @@ jobs: cd "$dest"/luanti-*-win* wine bin/luanti.exe --version - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v5 with: name: "mingw${{ matrix.bits }}" path: B/build/*.zip @@ -92,7 +92,7 @@ jobs: # Enable it, when working on the installer. steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Restore from cache and run vcpkg uses: lukka/run-vcpkg@v11 @@ -135,7 +135,7 @@ jobs: env: TYPE: ${{matrix.type}} - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v5 with: name: msvc-${{ matrix.config.arch }}-${{ matrix.type }} path: .\Package\