From 9e6803c1db42cfe08b295491c15fee0b83415fec Mon Sep 17 00:00:00 2001 From: sudlud Date: Tue, 21 Jul 2026 17:22:01 +0200 Subject: [PATCH] chore(CI): bump actions off the deprecated Node 20 runtime (#26720) Co-authored-by: Claude Opus 4.8 (1M context) --- .github/actions/linux-build/action.yml | 2 +- .github/workflows/codestyle.yml | 4 ++-- .github/workflows/core-build-nopch.yml | 2 +- .github/workflows/core-build-pch.yml | 2 +- .github/workflows/core_modules_build.yml | 2 +- .github/workflows/docker_build.yml | 4 ++-- .github/workflows/import_pending.yml | 2 +- .github/workflows/macos_build.yml | 4 ++-- .github/workflows/pr_labeler.yml | 4 ++-- .github/workflows/sql-codestyle.yml | 4 ++-- .github/workflows/tools_build.yml | 2 +- .github/workflows/windows_build.yml | 4 ++-- 12 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml index 2900e40d6..c607c6d02 100644 --- a/.github/actions/linux-build/action.yml +++ b/.github/actions/linux-build/action.yml @@ -50,7 +50,7 @@ runs: # walk back from the most-recent cache on this branch to progressively # broader fallbacks (branch -> pch variant -> modules variant -> compiler). - name: Cache - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ${{ github.workspace }}/var/ccache key: ccache:${{ runner.os }}:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}:pch=${{ inputs.pch }}:${{ github.ref_name }}-${{ github.run_id }} diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 640d2d7b0..8eb7ccbfd 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -22,9 +22,9 @@ jobs: name: C++ if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Setup python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: '3.10' - name: AzerothCore codestyle diff --git a/.github/workflows/core-build-nopch.yml b/.github/workflows/core-build-nopch.yml index 68a4515e6..a55e1a415 100644 --- a/.github/workflows/core-build-nopch.yml +++ b/.github/workflows/core-build-nopch.yml @@ -53,7 +53,7 @@ jobs: name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ./.github/actions/linux-build with: CC: ${{ matrix.compiler.CC }} diff --git a/.github/workflows/core-build-pch.yml b/.github/workflows/core-build-pch.yml index e5a2af071..242473e78 100644 --- a/.github/workflows/core-build-pch.yml +++ b/.github/workflows/core-build-pch.yml @@ -49,7 +49,7 @@ jobs: name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-pch if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ./.github/actions/linux-build with: CC: ${{ matrix.compiler.CC }} diff --git a/.github/workflows/core_modules_build.yml b/.github/workflows/core_modules_build.yml index d3f02d615..06dfa32c4 100644 --- a/.github/workflows/core_modules_build.yml +++ b/.github/workflows/core_modules_build.yml @@ -49,7 +49,7 @@ jobs: name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch-modules if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 # This script installs a general list of modules to compile with # azerothcore. This is useful for ensuring that module compilation # functionality works. diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 27334bf75..aa67ff903 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -41,7 +41,7 @@ jobs: sudo rm -rf /opt/ghc sudo rm -rf "$AGENT_TOOLSDIRECTORY" - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 # The containers created in this workflow are used by # acore-docker, which has a dependency on mod-ale. @@ -50,7 +50,7 @@ jobs: # build them locally (such as with `docker compose build`) - name: Download Eluna if: github.repository == 'azerothcore/azerothcore-wotlk' && github.ref_name == 'master' - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: azerothcore/mod-ale path: modules/mod-ale diff --git a/.github/workflows/import_pending.yml b/.github/workflows/import_pending.yml index 7b21193b8..82ef5d771 100644 --- a/.github/workflows/import_pending.yml +++ b/.github/workflows/import_pending.yml @@ -12,7 +12,7 @@ jobs: permissions: write-all if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: persist-credentials: false # If we're fetching all the history in a later step it makes sense to diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml index cb0efefe8..702c2d208 100644 --- a/.github/workflows/macos_build.yml +++ b/.github/workflows/macos_build.yml @@ -32,9 +32,9 @@ jobs: && !github.event.pull_request.draft && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Cache - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: ~/Library/Caches/ccache # Unique per run so the cache is re-saved every run instead of diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml index 6e08bc4f6..3e1a23f85 100644 --- a/.github/workflows/pr_labeler.yml +++ b/.github/workflows/pr_labeler.yml @@ -9,10 +9,10 @@ jobs: permissions: write-all if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: persist-credentials: true - - uses: actions/labeler@v5 + - uses: actions/labeler@v7 with: repo-token: ${{ secrets.GITHUB_TOKEN }} configuration-path: .github/labeler.yml diff --git a/.github/workflows/sql-codestyle.yml b/.github/workflows/sql-codestyle.yml index 809a58d12..f9dfedb7c 100644 --- a/.github/workflows/sql-codestyle.yml +++ b/.github/workflows/sql-codestyle.yml @@ -22,9 +22,9 @@ jobs: name: SQL if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Setup python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: '3.10' - name: AzerothCore codestyle diff --git a/.github/workflows/tools_build.yml b/.github/workflows/tools_build.yml index 75cb5fe2f..6fc84922d 100644 --- a/.github/workflows/tools_build.yml +++ b/.github/workflows/tools_build.yml @@ -37,7 +37,7 @@ jobs: && !github.event.pull_request.draft && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ./.github/actions/linux-build with: CC: ${{ matrix.compiler.CC }} diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 6bec39ac1..c3ced4a4d 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -35,14 +35,14 @@ jobs: && !github.event.pull_request.draft && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: ccache uses: hendrikmuhs/ccache-action@v1.2.13 # Cache the fetched Boost + MySQL client so we don't re-download ~350 MB # and re-run the Boost installer on every run. The Test-Path guards in # "Configure OS" short-circuit the install work when these are restored. - name: Cache Boost & MySQL - uses: actions/cache@v4 + uses: actions/cache@v6 with: path: | C:\local\boost_1_87_0