From 30e3e285db5e2ca68948c3d448df9b6aa49daafe Mon Sep 17 00:00:00 2001 From: Mark Beech Date: Thu, 11 Jun 2026 19:34:16 +0100 Subject: [PATCH] Bump actions to Node 24-ready versions GitHub forces actions onto Node 24 from 2026-06-16; the Test run flagged actions/checkout@v4 and actions/cache@v4 as affected. - actions/checkout v4 -> v5 (Node 24, no other changes; deliberately not v6, which moves credential persistence to a separate file and the auto-commit workflows push with checkout-persisted creds) - actions/cache v4 -> v5 - stefanzweifel/git-auto-commit-action v4 -> v7 (v4 runs Node 16; v5-v7 majors don't change the basic commit_message usage) shivammathur/setup-php@v2 is actively maintained and already Node 24-ready. Co-Authored-By: Claude Fable 5 --- .github/workflows/export-on-tests.yml | 4 ++-- .github/workflows/php-cs-fixer.yml | 4 ++-- .github/workflows/static-analysis.yml | 2 +- .github/workflows/test.yml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/export-on-tests.yml b/.github/workflows/export-on-tests.yml index 285d1a2..4079e48 100644 --- a/.github/workflows/export-on-tests.yml +++ b/.github/workflows/export-on-tests.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -32,6 +32,6 @@ jobs: run: php export.php - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v7 with: commit_message: "Run export.php — update exported data [skip ci]" diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 758446a..8af3e39 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.head_ref }} @@ -18,6 +18,6 @@ jobs: args: --allow-risky=yes - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v7 with: commit_message: Fix styling \ No newline at end of file diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 6ab3169..446851c 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 # PHPStan is installed via setup-php rather than require-dev because # it needs PHP >= 7.4, while the test matrix still installs dev diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4376208..543b570 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup PHP, with composer uses: shivammathur/setup-php@v2 @@ -34,7 +34,7 @@ jobs: shell: bash - name: Cache composer dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.composer-cache.outputs.dir }} key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}