[php-src] PHP-8.3: Update GitHub Action workflows to `actions/checkout@v7`
| From: | Tim Düsterhus | Date: | Thu, 29 Oct 2026 08:06:27 +0000 |
| Subject: | [php-src] PHP-8.3: Update GitHub Action workflows to `actions/checkout@v7` | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142911@lists.php.net to get a copy of this message | ||
Author: Tim Düsterhus (TimWolla)
Date: 2026-10-29T09:02:57+01:00
Commit: https://github.com/php/php-src/commit/6a1a57dc4bc3dff283b18bc5cc014a20ed46b831
Raw diff: https://github.com/php/php-src/commit/6a1a57dc4bc3dff283b18bc5cc014a20ed46b831.diff
Update GitHub Action workflows to
actions/checkout@v7
Keep this up to date in all nonbranches, because the node.js runtime for older
versions might get deprecated in the future and fixing this for all branches at
once is easier.
see bb70c5589ab76399e5b090200dc1a485014ac3a6
Changed paths:
M .github/workflows/test-suite.yml
M .github/workflows/test.yml
Diff:
diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml
index a9bb570f9212..dcd61adf17c8 100644
--- a/.github/workflows/test-suite.yml
+++ b/.github/workflows/test-suite.yml
@@ -19,7 +19,7 @@ jobs:
timeout-minutes: 180
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: System info
@@ -61,7 +61,7 @@ jobs:
image: 'alpine:3.22'
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: apk
@@ -135,7 +135,7 @@ jobs:
timeout-minutes: 180
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: Create MSSQL container
@@ -258,7 +258,7 @@ jobs:
FIREBIRD_PASSWORD: test
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: apt
@@ -316,7 +316,7 @@ jobs:
timeout-minutes: 180
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: Update clang
@@ -394,7 +394,7 @@ jobs:
timeout-minutes: 180
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: Create MSSQL container
@@ -444,7 +444,7 @@ jobs:
USE_TRACKED_ALLOC: 1
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: apt
@@ -656,7 +656,7 @@ jobs:
timeout-minutes: 180
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: Create MSSQL container
@@ -720,7 +720,7 @@ jobs:
timeout-minutes: 180
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: apt
@@ -812,7 +812,7 @@ jobs:
timeout-minutes: 180
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: apt
@@ -866,7 +866,7 @@ jobs:
- name: git config
run: git config --global core.autocrlf false && git config --global core.eol lf
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: Setup
@@ -885,7 +885,7 @@ jobs:
timeout-minutes: 50
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
- name: FreeBSD
@@ -916,7 +916,7 @@ jobs:
timeout-minutes: 50
steps:
- name: git checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
ref: ${{ fromJson(inputs.branch).ref }}
fetch-depth: 0
@@ -979,7 +979,7 @@ jobs:
mysql -uroot -proot -e "CREATE USER 'wordpress'@'localhost'
IDENTIFIED BY 'wordpress'; FLUSH PRIVILEGES;"
mysql -uroot -proot -e "GRANT ALL PRIVILEGES ON *.* TO
'wordpress'@'localhost' WITH GRANT OPTION;"
- name: git checkout benchmarking-data
- uses: actions/checkout@v6
+ uses: actions/checkout@v7
with:
repository: php/benchmarking-data
ssh-key: ${{ secrets.BENCHMARKING_DATA_DEPLOY_KEY }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 057ed83eb226..4128a854b525 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -41,7 +41,7 @@ jobs:
all_variations: ${{ steps.set-matrix.outputs.all_variations }}
branches: ${{ steps.set-matrix.outputs.branches }}
steps:
- - uses: actions/checkout@v6
+ - uses: actions/checkout@v7
with:
# When running nightly, set fetch-depth to 0 to clone the full
# repository including all branches. This is required to find the