Skip to content

chore(deps): update shivammathur/setup-php action to v2.33.0 #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 30, 2024

This PR contains the following updates:

Package Type Update Change
shivammathur/setup-php action minor 2.31.1 -> 2.33.0

Release Notes

shivammathur/setup-php (shivammathur/setup-php)

v2.33.0

Compare Source

Changelog
  • Added support for Arm Ubuntu runners ubuntu-24.04-arm and ubuntu-22.04-arm. (#​848)
jobs:
  run:
    runs-on: ubuntu-24.04-arm # or ubuntu-22.04-arm
    steps:
    - name: Setup PHP
      uses: shivammathur/setup-php@v2
      with:
        php-version: '8.4'
  • Dropped support for Ubuntu 20.04 (ubuntu-20.04) for both GitHub hosted and self-hosted runners. Please migrate your workflows to ubuntu-22.04 or ubuntu-24.04. (#​939)
    Ref: https://github.com/shivammathur/setup-php#github-hosted-runners

  • Improved support for installing PHPUnit around new releases. Now setup-php will fallback to the previous release till new release is available on the phpunit.de website after it is tagged. (#​913, #​938)

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: phpunit
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
  env:
    TOOLS_DIR: '/tmp/tools'
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: composer-normalize
  • Updated the repository for PHP-CS-Fixer. (#​900)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: php-cs-fixer
  • Added support for blackfire and ionCube extensions for PHP 8.4.

  • Improved support for phalcon and zephir_parser extensions.

  • Improved support for OCI extensions pdo_oci and oci8 on self-hosted runners. (#​929)

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: pdo_oci, oci8
  • Improved locking mechanism while fetching files on self-hosted runners. (#​912)

  • Fixed a warning on macOS while patching extensions.

  • Fixed linking hiredis library during relay setup.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: relay
  • Updated Node.js dependencies.

Thanks @​deguif, @​DanielEScherzer, @​voodooism, @​hms5232, and @​jg-development for the contributions 🎉

Thanks @​complex-gmbh and @​WorkOfStan for the sponsorship ❤️

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.32.0

Compare Source

Changelog
  • Added support for PHP 8.4 as the default stable PHP version.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  • Added support for PHP 8.5 as the nightly version. (#​867)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
  • Added support for pre-installed in php-version input. (#​872)
    It will setup the pre-installed PHP version on the runner as per the docs here
    https://github.com/shivammathur/setup-php?tab=readme-ov-file#github-hosted-runners. If the runner does not have a pre-installed PHP version, it will fail.
    Please note: It is not recommended to use this unless you are doing something trivial, the pre-installed PHP versions on GitHub hosted runners are old patch versions.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: pre-installed
  • Added support for .tool-versions file format in php-version-file input. (#​883)
    If you have an asdf .tool-versions file in your project.
    For example, you can specify .tool-versions now in the php-version-file input and the action would setup the correct PHP version.
ruby 3.4
php 8.4
nodejs 23.5
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version-file: .tool-versions
  • Added support for to specify the path for composer file in the project to read the PHP version using COMPOSER_PROJECT_DIR env value. (#​894)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  env:
    COMPOSER_PROJECT_DIR: php  
  • Added support for macos-15 GitHub hosted environment.

  • Added support for windows-2025 GitHub hosted environment.

  • Added support for composer-dependency-analyser tool (#​859, #​897)

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: composer-dependency-analyser
  • Added support for relay extension for PHP 8.4 and 8.5. (#​892)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: relay
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
  env:
    debug: true  
  • Fixed support for zts buids on self-hosted runners.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
  env:
    phpts: ts
  • Fixed support for oci extensions for PHP 8.4 and PHP 8.5.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: pdo_oci, oci8
  • Fixed support for zephir_parser extension.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: zephir_parser
  • Fixed support for couchbase extension on old PHP versions.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.1'
    extensions: couchbase
  • Fixed support for pdo_firebird extension on macos-15.
##### runs-on: macos-15
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: pdo_firebird
  • Improved support to install tools in a multi-user self-hosted environment.
  • Dropped support for macos-12 GitHub hosted environments.
  • Dropped support for Debian 10 based self-hosted environments.
  • Update Node.js dependencies.

Thanks @​janedbal, @​alexmerlin and @​tillkruss for the contributions 🎉

Thanks @​desrosj, @​bloodynumen and @​eliashaeussler for the sponsorship ❤️

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 6fab1f3 to c1038ab Compare April 15, 2025 12:30
@renovate renovate bot changed the title chore(deps): update shivammathur/setup-php action to v2.32.0 chore(deps): update shivammathur/setup-php action to v2.33.0 Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants