-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Update shivammathur/setup-php action to v2.32.0 #130
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
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
5361f86
to
be682ce
Compare
be682ce
to
eaf2e3f
Compare
eaf2e3f
to
770a75b
Compare
770a75b
to
86e85fe
Compare
86e85fe
to
d72aea6
Compare
d72aea6
to
f86904e
Compare
f86904e
to
c191bd9
Compare
c191bd9
to
284fa12
Compare
Quality Gate passedIssues Measures |
284fa12
to
13adc35
Compare
Quality Gate passedIssues Measures |
This PR contains the following updates:
2.24.0
->2.32.0
Release Notes
shivammathur/setup-php (shivammathur/setup-php)
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 (https://github.com/shivammathur/setup-php/pull/838)Added support for zephir_parser for PHP 8.3.
Fixed installing zts PHP versions on macOS (https://github.com/shivammathur/setup-php/issues/847).
Fixed installing
ev
extension (https://github.com/shivammathur/setup-php/issues/844).Fixed support for
ioncube
extension (https://github.com/shivammathur/setup-php/issues/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://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 (https://github.com/shivammathur/homebrew-extensions/issues/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 (https://github.com/shivammathur/icu-intl/pull/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: shivammathur/setup-php@2.25.3...2.25.4
Follow for updates
v2.25.3
Compare Source
Changelog
Added support for
zts
intl builds for all supported ICU versions. #739, shivammathur/icu-intl@d6ee42c.Added docker to the
shivammathur/node
images. #742Fixed regression in support for Zend extensions installed using PECL. #738
Fixed
PHPUnit
andphpcpd
support to set up versions compatible with the PHP version. #732Fixed support for
nektos/act
to run the action in self-hosted mode when using the tool. #742Fixed parsing versions in tools input. #734
Updated Node.js dependencies.
Full Changelog: shivammathur/setup-php@2.25.2...2.25.3
New Contributors
Thanks @ramsey and @pxlrbt for the sponsorship ❤️
Follow for updates
v2.25.2
Compare Source
Changelog
extensions
input with version. #725memcache
extension to8.2
in the builds cache for GitHub Actions Ubuntu environments for PHP 8.0 and above. #725New Contributors
Full Changelog: shivammathur/setup-php@2.25.1...2.25.2
Follow for updates
v2.25.1
Compare Source
Changelog
2.25.0
(#722).Add-DebugSymbols
on Windows.Full Changelog: shivammathur/setup-php@2.25.0...2.25.1
Follow for updates
v2.25.0
Compare Source
Changelog
Please use
ubuntu-22.04
orubuntu-20.04
runners.Added support for
php-version-file
input to read the input PHP version from a file Docs. (#690)Example: If you have a file
.php-version
in your file structure with the PHP version as its content, you can use thephp-version-file
input.intl
extension withICU 73.1
. https://github.com/shivammathur/icu-intl/pull/5snmp
anduuid
on macOS usingshivammathur/extensions
tap. (https://github.com/shivammathur/homebrew-extensions/issues/2426, https://github.com/shivammathur/homebrew-extensions/issues/2452)Added retry logic across Windows to decrease the network failure rate. (#700, #711)
Switched to using
phpenmod
script to enable extensions on Linux.Switched to using
Write-Error
instead ofExit
on Windows as that did not stop the workflow on errors. (#709)Improved support for
relay
extension. #719Fixed support for
zts
build ofzephir_parser
extension. #701Fixed parameters in the
xargs
call. #712Fixed minor shellcheck error.
Fixed the wrapper used to install Debian packages to check for broken package failures.
Fixed the JIT config set up to match the docs.
Updated Node.js dependencies.
Full Changelog: shivammathur/setup-php@2.24.0...2.25.0
Contributions
utils.ts
by @viktorruskai in https://github.com/shivammathur/setup-php/pull/689New Contributors
Thanks! for the contribution 🎉
Follow for updates
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