Merge branch 'PHP-8.4'
Some checks are pending
Push / LINUX_X64_RELEASE_NTS (push) Has been skipped
Push / LINUX_X64_DEBUG_ZTS_ASAN (push) Has been skipped
Push / FREEBSD (push) Has been skipped
Push / MACOS_ARM64_DEBUG_NTS (push) Waiting to run
Push / WINDOWS_X64_ZTS (push) Waiting to run
Push / LINUX_X32_DEBUG_ZTS (push) Has been skipped
Push / BENCHMARKING (push) Has been skipped

* PHP-8.4:
  Update GitHub Action workflows to `actions/checkout@v5`
This commit is contained in:
Tim Düsterhus 2025-08-13 19:10:11 +02:00
commit 359f4420a4
No known key found for this signature in database
GPG key ID: 8FF75566094168AF
5 changed files with 32 additions and 32 deletions

View file

@ -17,7 +17,7 @@ jobs:
if: github.repository == 'php/php-src' if: github.repository == 'php/php-src'
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: Install dependencies - name: Install dependencies
run: pip install -r docs/requirements.txt run: pip install -r docs/requirements.txt
- name: Check formatting - name: Check formatting

View file

@ -54,7 +54,7 @@ jobs:
runs-on: [self-hosted, gentoo, ppc64] runs-on: [self-hosted, gentoo, ppc64]
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: System info - name: System info
@ -95,7 +95,7 @@ jobs:
image: 'alpine:3.20.1' image: 'alpine:3.20.1'
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: apk - name: apk
@ -206,7 +206,7 @@ jobs:
runs-on: ubuntu-${{ matrix.asan && inputs.asan_ubuntu_version || inputs.ubuntu_version }} runs-on: ubuntu-${{ matrix.asan && inputs.asan_ubuntu_version || inputs.ubuntu_version }}
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: Create MSSQL container - name: Create MSSQL container
@ -306,7 +306,7 @@ jobs:
FIREBIRD_PASSWORD: test FIREBIRD_PASSWORD: test
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: apt - name: apt
@ -374,7 +374,7 @@ jobs:
runs-on: macos-${{ matrix.os }} runs-on: macos-${{ matrix.os }}
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: brew - name: brew
@ -449,7 +449,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: Create MSSQL container - name: Create MSSQL container
@ -502,7 +502,7 @@ jobs:
USE_TRACKED_ALLOC: 1 USE_TRACKED_ALLOC: 1
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: apt - name: apt
@ -705,7 +705,7 @@ jobs:
runs-on: ubuntu-${{ inputs.ubuntu_version }} runs-on: ubuntu-${{ inputs.ubuntu_version }}
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: Create MSSQL container - name: Create MSSQL container
@ -768,7 +768,7 @@ jobs:
runs-on: ubuntu-${{ inputs.ubuntu_version }} runs-on: ubuntu-${{ inputs.ubuntu_version }}
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: apt - name: apt
@ -859,7 +859,7 @@ jobs:
runs-on: ubuntu-${{ inputs.ubuntu_version }} runs-on: ubuntu-${{ inputs.ubuntu_version }}
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: apt - name: apt
@ -909,38 +909,38 @@ jobs:
CXX: ccache g++ CXX: ccache g++
steps: steps:
- name: git checkout PHP - name: git checkout PHP
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
path: php path: php
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: git checkout apcu - name: git checkout apcu
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: krakjoe/apcu repository: krakjoe/apcu
path: apcu path: apcu
- name: git checkout imagick - name: git checkout imagick
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: Imagick/imagick repository: Imagick/imagick
path: imagick path: imagick
- name: git checkout memcached - name: git checkout memcached
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: php-memcached-dev/php-memcached repository: php-memcached-dev/php-memcached
path: memcached path: memcached
- name: git checkout redis - name: git checkout redis
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: phpredis/phpredis repository: phpredis/phpredis
path: redis path: redis
- name: git checkout xdebug - name: git checkout xdebug
if: false if: false
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: xdebug/xdebug repository: xdebug/xdebug
path: xdebug path: xdebug
- name: git checkout yaml - name: git checkout yaml
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: php/pecl-file_formats-yaml repository: php/pecl-file_formats-yaml
path: yaml path: yaml
@ -1050,7 +1050,7 @@ jobs:
- name: git config - name: git config
run: git config --global core.autocrlf false && git config --global core.eol lf run: git config --global core.autocrlf false && git config --global core.eol lf
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: Setup - name: Setup
@ -1071,7 +1071,7 @@ jobs:
timeout-minutes: 50 timeout-minutes: 50
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
ref: ${{ inputs.branch }} ref: ${{ inputs.branch }}
- name: FreeBSD - name: FreeBSD

View file

@ -82,7 +82,7 @@ jobs:
timeout-minutes: 50 timeout-minutes: 50
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: apt - name: apt
uses: ./.github/actions/apt-x64 uses: ./.github/actions/apt-x64
- name: System info - name: System info
@ -166,7 +166,7 @@ jobs:
FIREBIRD_PASSWORD: test FIREBIRD_PASSWORD: test
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: apt - name: apt
uses: ./.github/actions/apt-x32 uses: ./.github/actions/apt-x32
- name: ccache - name: ccache
@ -203,7 +203,7 @@ jobs:
timeout-minutes: 50 timeout-minutes: 50
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: brew - name: brew
uses: ./.github/actions/brew uses: ./.github/actions/brew
- name: ccache - name: ccache
@ -250,7 +250,7 @@ jobs:
- name: git config - name: git config
run: git config --global core.autocrlf false && git config --global core.eol lf run: git config --global core.autocrlf false && git config --global core.eol lf
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: Setup - name: Setup
uses: ./.github/actions/setup-windows uses: ./.github/actions/setup-windows
- name: Build - name: Build
@ -264,7 +264,7 @@ jobs:
timeout-minutes: 50 timeout-minutes: 50
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
fetch-depth: 0 fetch-depth: 0
# ASLR can cause a lot of noise due to missed sse opportunities for memcpy # ASLR can cause a lot of noise due to missed sse opportunities for memcpy
@ -326,7 +326,7 @@ jobs:
mysql -uroot -proot -e "CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'wordpress'; FLUSH PRIVILEGES;" 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;" mysql -uroot -proot -e "GRANT ALL PRIVILEGES ON *.* TO 'wordpress'@'localhost' WITH GRANT OPTION;"
- name: git checkout benchmarking-data - name: git checkout benchmarking-data
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: php/benchmarking-data repository: php/benchmarking-data
ssh-key: ${{ secrets.BENCHMARKING_DATA_DEPLOY_KEY }} ssh-key: ${{ secrets.BENCHMARKING_DATA_DEPLOY_KEY }}
@ -369,6 +369,6 @@ jobs:
timeout-minutes: 50 timeout-minutes: 50
steps: steps:
- name: git checkout - name: git checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: FreeBSD - name: FreeBSD
uses: ./.github/actions/freebsd uses: ./.github/actions/freebsd

View file

@ -103,21 +103,21 @@ jobs:
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install -y terraform=1.5.7-* sudo apt-get install -y terraform=1.5.7-*
- name: Checkout benchmark suite - name: Checkout benchmark suite
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: 'kocsismate/php-version-benchmarks' repository: 'kocsismate/php-version-benchmarks'
ref: 'main' ref: 'main'
fetch-depth: 1 fetch-depth: 1
path: 'php-version-benchmarks' path: 'php-version-benchmarks'
- name: Checkout php-src (benchmarked version) - name: Checkout php-src (benchmarked version)
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: '${{ env.REPOSITORY }}' repository: '${{ env.REPOSITORY }}'
ref: '${{ env.COMMIT }}' ref: '${{ env.COMMIT }}'
fetch-depth: 100 fetch-depth: 100
path: 'php-version-benchmarks/tmp/php_${{ env.ID }}' path: 'php-version-benchmarks/tmp/php_${{ env.ID }}'
- name: Checkout php-src (baseline version) - name: Checkout php-src (baseline version)
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: '${{ env.REPOSITORY }}' repository: '${{ env.REPOSITORY }}'
ref: '${{ env.BASELINE_COMMIT }}' ref: '${{ env.BASELINE_COMMIT }}'
@ -131,7 +131,7 @@ jobs:
rm -rf ./php-version-benchmarks/docs/results rm -rf ./php-version-benchmarks/docs/results
- name: Checkout benchmark data - name: Checkout benchmark data
if: github.event_name != 'workflow_dispatch' if: github.event_name != 'workflow_dispatch'
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
repository: php/real-time-benchmark-data repository: php/real-time-benchmark-data
ssh-key: ${{ secrets.PHP_VERSION_BENCHMARK_RESULTS_DEPLOY_KEY }} ssh-key: ${{ secrets.PHP_VERSION_BENCHMARK_RESULTS_DEPLOY_KEY }}

View file

@ -13,7 +13,7 @@ jobs:
outputs: outputs:
branches: ${{ steps.set-matrix.outputs.branches }} branches: ${{ steps.set-matrix.outputs.branches }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
with: with:
# Set fetch-depth to 0 to clone the full repository # Set fetch-depth to 0 to clone the full repository
# including all branches. This is required to find # including all branches. This is required to find