From 0d66b8ceaeb1acb4d90915d5092af1252cd35be9 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Mon, 10 Aug 2026 19:22:27 +0200 Subject: [PATCH] [ci] Bump actions/checkout to v5, to run on Node.js 24 Node.js 20 is deprecated on GitHub Actions runners, so actions/checkout@v4 is forced onto Node.js 24 and every job reports a deprecation warning. actions/checkout@v5 targets Node.js 24 natively. --- .github/workflows/build_scoped_rector.yaml | 4 ++-- .github/workflows/claude_issue_fixer.yaml | 2 +- .github/workflows/code_analysis.yaml | 2 +- .github/workflows/code_analysis_no_dev.yaml | 2 +- .github/workflows/e2e.yaml | 2 +- .github/workflows/e2e_command_with_option.yaml | 2 +- .github/workflows/e2e_with_cache.yaml | 2 +- .github/workflows/e2e_with_no_diffs.yaml | 2 +- .github/workflows/packages_tests.yaml | 2 +- .github/workflows/phpstan_printer_test.yaml | 2 +- .../workflows/phpunit_and_phpstan_autoload_compat_test.yaml | 2 +- .github/workflows/rector.yaml | 2 +- .github/workflows/remove_unused_deps.yaml | 2 +- .github/workflows/tests.yaml | 2 +- .github/workflows/typos.yaml | 2 +- .github/workflows/weekly_pull_requests.yaml | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build_scoped_rector.yaml b/.github/workflows/build_scoped_rector.yaml index 06b0e1d1225..e8f9707e7a4 100644 --- a/.github/workflows/build_scoped_rector.yaml +++ b/.github/workflows/build_scoped_rector.yaml @@ -33,7 +33,7 @@ jobs: run: sleep 20 - - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -86,7 +86,7 @@ jobs: # 6. clone remote repository, so we can push it - - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" with: repository: rectorphp/rector path: remote-repository diff --git a/.github/workflows/claude_issue_fixer.yaml b/.github/workflows/claude_issue_fixer.yaml index 74780297677..39e3999148e 100644 --- a/.github/workflows/claude_issue_fixer.yaml +++ b/.github/workflows/claude_issue_fixer.yaml @@ -21,7 +21,7 @@ jobs: steps: # 1. Checkout - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index 6573a5e4443..807389c8bb5 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -86,7 +86,7 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # see https://github.com/shivammathur/setup-php - diff --git a/.github/workflows/code_analysis_no_dev.yaml b/.github/workflows/code_analysis_no_dev.yaml index 532a6136ebb..2b397194c7e 100644 --- a/.github/workflows/code_analysis_no_dev.yaml +++ b/.github/workflows/code_analysis_no_dev.yaml @@ -13,7 +13,7 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # see https://github.com/shivammathur/setup-php - uses: shivammathur/setup-php@v2 with: diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 0307993e0b5..9dacee1a99c 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -49,7 +49,7 @@ jobs: name: End to end test - ${{ matrix.directory }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: shivammathur/setup-php@v2 with: diff --git a/.github/workflows/e2e_command_with_option.yaml b/.github/workflows/e2e_command_with_option.yaml index 349f4281fba..aa009803364 100644 --- a/.github/workflows/e2e_command_with_option.yaml +++ b/.github/workflows/e2e_command_with_option.yaml @@ -21,7 +21,7 @@ jobs: timeout-minutes: 10 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # see https://github.com/shivammathur/setup-php - diff --git a/.github/workflows/e2e_with_cache.yaml b/.github/workflows/e2e_with_cache.yaml index f969fdc3fff..7c04221333c 100644 --- a/.github/workflows/e2e_with_cache.yaml +++ b/.github/workflows/e2e_with_cache.yaml @@ -30,7 +30,7 @@ jobs: name: End to end test - ${{ matrix.directory }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: shivammathur/setup-php@v2 with: diff --git a/.github/workflows/e2e_with_no_diffs.yaml b/.github/workflows/e2e_with_no_diffs.yaml index e3af82a4d91..320051175fd 100644 --- a/.github/workflows/e2e_with_no_diffs.yaml +++ b/.github/workflows/e2e_with_no_diffs.yaml @@ -30,7 +30,7 @@ jobs: name: End to end test - ${{ matrix.directory }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: shivammathur/setup-php@v2 with: diff --git a/.github/workflows/packages_tests.yaml b/.github/workflows/packages_tests.yaml index 0f910c4c15e..484be8a016f 100644 --- a/.github/workflows/packages_tests.yaml +++ b/.github/workflows/packages_tests.yaml @@ -37,7 +37,7 @@ jobs: steps: # see https://github.com/actions/checkout#usage - - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" with: repository: ${{ matrix.repository_name }} ref: "main" diff --git a/.github/workflows/phpstan_printer_test.yaml b/.github/workflows/phpstan_printer_test.yaml index e40208db989..3fc6027dbd0 100644 --- a/.github/workflows/phpstan_printer_test.yaml +++ b/.github/workflows/phpstan_printer_test.yaml @@ -25,7 +25,7 @@ jobs: name: PHP ${{ matrix.php-versions }} tests (${{ matrix.os }}) steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/phpunit_and_phpstan_autoload_compat_test.yaml b/.github/workflows/phpunit_and_phpstan_autoload_compat_test.yaml index 95394a4ecde..bdb2312f75a 100644 --- a/.github/workflows/phpunit_and_phpstan_autoload_compat_test.yaml +++ b/.github/workflows/phpunit_and_phpstan_autoload_compat_test.yaml @@ -38,7 +38,7 @@ jobs: working-directory: compat-tests steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/rector.yaml b/.github/workflows/rector.yaml index 8cfd1220882..257e348730b 100644 --- a/.github/workflows/rector.yaml +++ b/.github/workflows/rector.yaml @@ -14,7 +14,7 @@ jobs: if: github.event.pull_request.head.repo.full_name == 'rectorphp/rector-src' steps: - - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: # Must be used to trigger workflow after push token: ${{ secrets.ACCESS_TOKEN }} diff --git a/.github/workflows/remove_unused_deps.yaml b/.github/workflows/remove_unused_deps.yaml index 0578eeeefe3..82d6bb082c6 100644 --- a/.github/workflows/remove_unused_deps.yaml +++ b/.github/workflows/remove_unused_deps.yaml @@ -14,7 +14,7 @@ jobs: if: github.event.pull_request.head.repo.full_name == 'rectorphp/rector-src' steps: - - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: # Must be used to trigger workflow after push token: ${{ secrets.ACCESS_TOKEN }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5335d442d7c..f9cb8ee351d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -25,7 +25,7 @@ jobs: name: PHP ${{ matrix.php-versions }} tests (${{ matrix.os }}) steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/typos.yaml b/.github/workflows/typos.yaml index 8b92da0b067..98232652ae4 100644 --- a/.github/workflows/typos.yaml +++ b/.github/workflows/typos.yaml @@ -13,7 +13,7 @@ jobs: runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 diff --git a/.github/workflows/weekly_pull_requests.yaml b/.github/workflows/weekly_pull_requests.yaml index 2f9bdadd3b0..ec977dde2c7 100644 --- a/.github/workflows/weekly_pull_requests.yaml +++ b/.github/workflows/weekly_pull_requests.yaml @@ -33,7 +33,7 @@ jobs: steps: - - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: token: ${{ secrets.ACCESS_TOKEN }}