-
-
Notifications
You must be signed in to change notification settings - Fork 34
Update shivammathur/setup-php action to v2.35.5 #130
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #130 +/- ##
=========================================
Coverage 90.45% 90.45%
Complexity 1138 1138
=========================================
Files 39 39
Lines 3196 3196
=========================================
Hits 2891 2891
Misses 305 305 ☔ View full report in Codecov by Sentry. |
03ec1db
to
e215688
Compare
e215688
to
d98cc9c
Compare
d98cc9c
to
05397f3
Compare
05397f3
to
2f24563
Compare
2f24563
to
d7c6af0
Compare
Kudos, SonarCloud Quality Gate passed! |
d7c6af0
to
da835ba
Compare
da835ba
to
12a1fc2
Compare
12a1fc2
to
2d00c70
Compare
2d00c70
to
dc4d948
Compare
Kudos, SonarCloud Quality Gate passed! |
dc4d948
to
5361f86
Compare
|
5361f86
to
be682ce
Compare
be682ce
to
eaf2e3f
Compare
d72aea6
to
f86904e
Compare
f86904e
to
c191bd9
Compare
c191bd9
to
284fa12
Compare
|
284fa12
to
13adc35
Compare
|
13adc35
to
1e64f54
Compare
1e64f54
to
187dbf4
Compare
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
187dbf4
to
fb11ef7
Compare
fb11ef7
to
ecdbd72
Compare
ecdbd72
to
93f1569
Compare
93f1569
to
7d7439f
Compare
7d7439f
to
62e29a9
Compare
62e29a9
to
29771d7
Compare
|
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
2.24.0
->2.35.5
Release Notes
shivammathur/setup-php (shivammathur/setup-php)
v2.35.5
Compare Source
Changelog
For example, this should install the latest release of PHPUnit with
10.5
as the prefix.intl
extension with a particular ICU versions.github-token
input value to avoid rate limits.Improved errors when tools fail to install. (#991)
Fixed warning in get function on request failure.
Added a fallback source for composer phar archives. (#956)
Added a fallback source for PPA keys. (#996)
Fixed
opcache.jit_buffer_size
config on arm environments. (#999)Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.4
Compare Source
Changelog
Fixed updating brew core tap before installing PHP on macOS.
Updated actions in internal workflows.
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.3
Compare Source
Changelog
Improved
github-token
support for GitHub Enterprise. (#981).For GitHub Enterprise users, the
github-token
input does not default to theGITHUB_TOKEN
secret. Therefore, it's recommended to set thegithub-token
input to a Personal Access Token (PAT).Fixed support for
relay
extension for PHP 7.4 on macOS.Updated internal workflows to not run on forks. (#982)
Updated Node.js dependencies.
Thanks @jrfnl for the contributions 🎉
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.2
Compare Source
Changelog
auth.json
. (#980)For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.1
Compare Source
Changelog
Fixed regression in composer authentication in
2.35.0
. (#979)Fixed installing
geos
extension on PHP 8.5.For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.0
Compare Source
Changelog
Added support for
github-token
input. (#969)It uses the
GITHUB_TOKEN
secret by default and should prevent any rate limiting issues while installing your composer dependencies or while adding any tools supported by setup-php.Also, it can used to specify a personal access token (PAT) to authenticate with GitHub if you need that for your composer dependencies.
carthage-software/mago
. (#898, #975)Roave/BackwardCompatibilityCheck
. (#911, #974)shipmonk/name-collision-detector
. (#932, #973)Fixed fallback behavior on adding a specific version of extension when
fail-fast
is set to true. (#972)Fixed enabling extensions on Windows. (#978)
Fixed installing gearman extension on PHP 8.5.
Cleaned up the cubrid extension script.
Removed ondrej/pkg-gearman ppa in gearman extension setup.
Switched to ppa.setup-php.com for ondrej/php ppa fallback mirror.
Update default composer version in README. (#966)
Fixed a broken link in README. (#967)
Updated Node.js dependencies.
Thanks @jrfnl and @OskarStark for the contributions 🎉
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.34.1
Compare Source
Changelog
Fixed tool-cache directory on self-hosted runners.
Fixed generating lock path in unix.sh on verbose branch.
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.34.0
Compare Source
Changelog
COMPOSER_ALLOW_PLUGINS
env.Added fallback for fetching the manifest for PHP versions. (#952)
Added support to specify tools directory using
SETUP_PHP_TOOLS_DIR
env. (#943, #945)Improved detecting linux self-hosted runners if
runner
env is not specified. (#947)Improved locking mechanism while fetching files on self-hosted runners.
Dropped support for using dependency files in
shivammathur/extension
tap.Fixed errors on macOS regarding missing taps.
Fixed logic to fail on first error in extension setup from source. (#951)
Fixed error about missing
self_hosted_helper
function on macOS.Fixed the file name of the sources list to match the name used by
apt-add-repository
. (#953)Fixed installing
hiredis
on macOS during relay setup.Thanks @alcaeus, @JMoodyFWD, and @cmb69 for the contributions 🎉
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.33.0
Compare Source
Changelog
ubuntu-24.04-arm
andubuntu-22.04-arm
. (#848)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)
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)Fixed cache support for
openswoole
. (#917, shivammathur/cache-extensions#47)Fixed the version of
composer-normalize
in the logs. (#899)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)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.
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
v2.32.0
Compare Source
Changelog
pre-installed
inphp-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.
.tool-versions
file format inphp-version-file
input. (#883)If you have an asdf .tool-versions file in your project.
For example, you can specify
.tool-versions
now in thephp-version-file
input and the action would setup the correct PHP version.COMPOSER_PROJECT_DIR
env value. (#894)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)
Added information on how an extension is loaded in the wiki extension lists. (#887)
https://github.com/shivammathur/setup-php/wiki
Fixed support for debug builds. (#880)
macos-12
GitHub hosted environments.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
v2.31.1
Compare Source
Changelog
Fix installing PECL extensions on Windows with a build version #855
Fix cache support for ioncube extension #856
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.31.0
Compare Source
Changelog
Added support for a fallback mirror for
ondrej/php
PPA when launchpad is down (#834).Fixed installing packages on self-hosted environments with existing conf files (#852).
Fixed support for
oci8
andpdo_oci
extensions onubuntu-24.04
.Fixed support for
couchbase
extension onubuntu-24.04
.Fixed support for
ubuntu-24.04
afterapt-fast
was dropped from the GA images.Fixed support for
firebird
extension onmacos-14
Fixed support for
blackfire
extension onmacos-14
.Fixed support for
relay
extension.Fixed support for
phalcon
extension for PHP 7.4 on Ubuntu.Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.5
Compare Source
Changelog
Added support for Ubuntu 24.04.
Added support for
easy-coding-standard
in tools (#838)Added support for zephir_parser for PHP 8.3.
Fixed installing zts PHP versions on macOS (#847).
Fixed installing
ev
extension (#844).Fixed support for
ioncube
extension (#840).Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.4
Compare Source
Changelog
Fixed support for
sqlsrv
andpro_sqlsrv
on Windows (https://redirect.github.com/shivammathur/setup-php/discussions/835).Fixed a permissions issue for brew on
macos-14
environments.Marked PHP 5.3 to PHP 5.5 as not supported on ARM64 macOS environments like
macos-14
.For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.3
Compare Source
Changelog
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.2
Compare Source
Changelog
Added support for vld extension (shivammathur/homebrew-extensions#3827).
Added support to update brew along with the core tap on macOS to handle breaking changes in core tap formulae.
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.1
Compare Source
Changelog
Improved updating Homebrew core tap on macOS using a retry logic.
Fixed support for phalcon on Windows.
Fixed support for OCI extensions for PHP 8.4 on Linux and macOS.
Fixed support for
sqlsrv
andpdo_sqlsrv
on PHP 8.0.Fixed type error on Windows in
Get-File
function.Minified the release file
dist/index.js
file generated byvercel/ncc
.Updated pre-installed PHP versions for GitHub runners in the README.
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.0
Compare Source
Changelog
Fixed syncing dependency formulae on macOS. (#823, #825, #824)
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.29.0
Compare Source
Changelog
lowest
alias installs the lowest actively supported version in the PHP project.composer.lock
andcomposer.json
files.php-version
andphp-version-file
inputs are not specified, then it can read the php version fromplatform-overrides.php
value in composer.lock orconfig.platform.php
value fromcomposer.json
. #800PHPCSStandards/PHP_CodeSniffer
repository for builds ofphpcs
andphpcbf
tools. #809Marked
v1
version of the action as completely unsupported, it will receive no updates, please upgrade tov2
, if not done already.Fixed installing extensions on Windows for PHP 8.1 by reverting the version bump for minimum stability. #807
Fixed building extensions on PHP 8.4 that used backward compatibility headers from
ext/standard
to useext/random/php_random.h
header.Improved support for
phalcon
to install the extension when specified without the version number. #796Updated codeql workflow to use
v3
versions of codeql actions. #803Updated docs workflow to use
actions/download-artifact@v4
andactions/upload-artifact@v4
. #804, #805Updated Node.js dependencies.
Merged Pull Requests
For the complete list of changes, please refer to the Full Changelog
Thanks @dr5hn, @tighten, @ZeekInteractive, @acelaya, and @fulopattila122 for the sponsorship ❤️
Follow for updates
v2.28.0
Compare Source
Changelog
php-version
now installs a stable build of PHP 8.3.latest
inphp-version
now installs PHP 8.3 as well.nightly
inphp-version
now installs PHP 8.4.intl
extension with ICU 74.1 (shivammathur/icu-intl#7)zts
inphpts
environment variable instead ofts
to set up thread-safe PHP on Linux and Windows.Added support for cached builds for PHP 8.3, PHP 8.4, and zts builds of all versions of PHP 5.6 and newer on Ubuntu GitHub Hosted environments. This should reduce the time it takes to set up these PHP versions.
Added
swoole
to the builds cache for GitHub-hosted environments for PHP 7.2 and newer.Added PHP 8.3 and PHP 8.4 to the extension lists in the wiki. (#787).
PHP 8.0 is now marked as
End of life
and PHP 8.1 is now marked asSecurity fixes only
in README.See PHP Support in README.
Fixed support for Blackfire extension. The action now disabled
Xdebug
andpcov
extensions by default whenblackfire
is specified inextensions
input.grpc_php_plugin
when installed along withprotoc
on macOS.geos
extension on PHP 8.3.event
extension on macOS to useopenssl@3
formula.Merged Pull Requests
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.27.1
Compare Source
Changelog
Fixed updating PHP dependencies after formulae in homebrew/core tap have been sharded into directories with prefixes. (#780)
Update
actions/setup-node
fromv3
tov4
in the node workflow.Update Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.27.0
Compare Source
Changelog
box
andphp-scoper
can now be installed easily using thetools
input. (#776)Added support for macOS 14.x Sonoma and dropped support for macOS 11.x Big Sur following a three-year support cycle that Apple follows for macOS.
We now set
keepAlive
inhttps
agent tofalse
infetch.ts
. After Node 19 it is set totrue
by default. This prevented the node process from exiting until timeout after the action run was completed. (#773, #777) - RefFixed support for
couchbase
extension for PHP 7.4.Fixed a warning when
find
was run without checking if the path exists on macOS.Fixed checking for existing PHP installations on macOS on self-hosted environments.
Fixed adding tools in case
/usr/local/bin
directory was missing on self-hosted environments.Bumped Node.js dependencies.
Merged Pull Requests
New Contributors
Full Changelog
For the complete list of changes, please refer to the Full Changelog: 2.26.0...2.27.0.
Thanks @tillkruss for the sponsorship ❤️
Follow for updates
v2.26.0
Compare Source
Changelog
Microsoft SQL Server extensions. (#758, #766)
The latest supported version of
sqlsrv
andpdo_sqlsrv
for the PHP version will be installed.Also, on Windows, these extensions will be installed from
microsoft/msphpsql
GitHub releases and will fallback topecl
.PHP 8.4 Support (#762)
Added support for PHP
8.4.0-dev
from the master branch ofphp/php-src
for all supported OS.Note: PHP
8.3.0-dev
is now built from the newPHP-8.3
branch.Fixes
Blackfire Player
Resolved issues affecting the
blackfire-player
on Linux and macOS. It now installs theuuid
extension that is required for the tool.Dropped support for it on Windows as
uuid
extension is not available for the OS.Updates
Update actions/checkout
Updated the use of
actions/checkout
to v4 in the documentation and workflows.Update Node.js Version
Note: Node.js 16 reached End-of-Life on 2023-09-11 (Ref).
Updated
action.yml
to use thenode20
binary. If you usesetup-php
on a self-hosted runner, please make sure it is v2.308.0 or newer to use this release or the major version tagv2
.Node.js Dependencies
Bumped Node.js dependencies.
Merged Pull Requests
New Contributors
Full Changelog
For the complete list of changes, please refer to the Full Changelog: 2.25.5...2.26.0.
Follow for updates
v2.25.5
Compare Source
Changelog
castor
in tools input. #746Fixed support for self-hosted Debian 12 environments.
Fixed support for self-hosted environments using DEB822-STYLE .sources files.
Fixed re-enabling opcache extension on macOS. #749
Updated Node.js dependencies.
New Contributors
Full Changelog: shivammathur/setup-php@2.25.4...2.25.5
Follow for updates
v2.25.4
Compare Source
Changelog
Fixed regression in 2.25.3 in PHPUnit installation by specifying
major
ormajor.minor
version in thetools
input. #743Fixed
fs
import inutls.test.ts
.Updated Node.js dependencies.
Full Changelog: <https://github.
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.
This PR was generated by Mend Renovate. View the repository job log.
This change is