Changelog
- Added support for Arm Ubuntu runners
ubuntu-24.04-arm
andubuntu-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 toubuntu-22.04
orubuntu-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
-
Switched to using https://ppa.launchpadcontent.net for launchpad PPAs instead of http://ppa.launchpad.net. (#927, #928)
-
Added a fallback to calling launchpad's API for getting PPA signatures to reduce reported failures on self-hosted runners. (#935)
-
Added support for specifying tools' directory using
TOOLS_DIR
env. (#937)
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
env:
TOOLS_DIR: '/tmp/tools'
-
Fixed cache support for
openswoole
. (#917, shivammathur/cache-extensions#47) -
Fixed the version of
composer-normalize
in the logs. (#899)
- 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
andionCube
extensions for PHP 8.4. -
Improved support for
phalcon
andzephir_parser
extensions. -
Improved support for OCI extensions
pdo_oci
andoci8
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