Commit bb70c5589ab for php.net
commit bb70c5589ab76399e5b090200dc1a485014ac3a6
Author: Tim Düsterhus <tim@tideways-gmbh.com>
Date: Wed Dec 17 13:58:51 2025 +0100
Update GitHub Action workflows to `actions/checkout@v6`
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 2650248a927224aa5b76130d406a691ad774fd38
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index e67deb8ffe4..00e2cbb43c2 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -57,7 +57,7 @@ jobs:
runs-on: [self-hosted, gentoo, ppc64]
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: System info
@@ -98,7 +98,7 @@ jobs:
image: 'alpine:3.22'
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: apk
@@ -200,7 +200,7 @@ jobs:
runs-on: ubuntu-${{ matrix.asan && inputs.asan_ubuntu_version || inputs.ubuntu_version }}
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: Create MSSQL container
@@ -298,7 +298,7 @@ jobs:
FIREBIRD_PASSWORD: test
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: apt
@@ -364,7 +364,7 @@ jobs:
runs-on: macos-${{ matrix.os }}
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: Update clang
@@ -439,7 +439,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: Create MSSQL container
@@ -488,7 +488,7 @@ jobs:
USE_TRACKED_ALLOC: 1
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: apt
@@ -688,7 +688,7 @@ jobs:
runs-on: ubuntu-${{ inputs.ubuntu_version }}
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: Create MSSQL container
@@ -751,7 +751,7 @@ jobs:
runs-on: ubuntu-${{ inputs.ubuntu_version }}
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: apt
@@ -838,7 +838,7 @@ jobs:
runs-on: ubuntu-${{ inputs.ubuntu_version }}
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: apt
@@ -883,38 +883,38 @@ jobs:
CXX: ccache g++
steps:
- name: git checkout PHP
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
path: php
ref: ${{ inputs.branch }}
- name: git checkout apcu
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
repository: krakjoe/apcu
path: apcu
- name: git checkout imagick
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
repository: Imagick/imagick
path: imagick
- name: git checkout memcached
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
repository: php-memcached-dev/php-memcached
path: memcached
- name: git checkout redis
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
repository: phpredis/phpredis
path: redis
- name: git checkout xdebug
if: false
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
repository: xdebug/xdebug
path: xdebug
- name: git checkout yaml
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
repository: php/pecl-file_formats-yaml
path: yaml
@@ -1019,7 +1019,7 @@ jobs:
- name: git config
run: git config --global core.autocrlf false && git config --global core.eol lf
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: Setup
@@ -1040,7 +1040,7 @@ jobs:
timeout-minutes: 50
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: FreeBSD
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 054f4a15286..bedf186bfef 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
- name: Create MSSQL container
uses: ./.github/actions/setup-mssql
- name: Create Oracle container
@@ -116,7 +116,7 @@ jobs:
runs-on: macos-14
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
- name: Update clang
uses: ./.github/actions/macos-update-clang
- name: brew
@@ -165,7 +165,7 @@ jobs:
- name: git config
run: git config --global core.autocrlf false && git config --global core.eol lf
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
- name: Setup
uses: ./.github/actions/setup-windows
- name: Build
@@ -179,6 +179,6 @@ jobs:
timeout-minutes: 50
steps:
- name: git checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@v6
- name: FreeBSD
uses: ./.github/actions/freebsd
diff --git a/.github/workflows/root.yml b/.github/workflows/root.yml
index ea23349fd69..68e43772d89 100644
--- a/.github/workflows/root.yml
+++ b/.github/workflows/root.yml
@@ -13,7 +13,7 @@ jobs:
outputs:
branches: ${{ steps.set-matrix.outputs.branches }}
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@v6
with:
# Set fetch-depth to 0 to clone the full repository
# including all branches. This is required to find