Skip to content
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 #47

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 14, 2023

This PR contains the following updates:

Package Type Update Change
shivammathur/setup-php action minor 2.25.5 -> 2.32.0

Release Notes

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

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'
- 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

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

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

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 and pdo_oci extensions on ubuntu-24.04.

  • Fixed support for couchbase extension on ubuntu-24.04.

  • Fixed support for ubuntu-24.04 after apt-fast was dropped from the GA images.

  • Fixed support for firebird extension on macos-14

  • Fixed support for blackfire extension on macos-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

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

v2.30.5

Compare Source

Changelog

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.30.4

Compare Source

Changelog

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.30.3

Compare Source

Changelog
  • Fixed reading extension directory for PHP 8.4 on macOS.

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.30.2

Compare Source

Changelog

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.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 and pdo_sqlsrv on PHP 8.0.

  • Fixed type error on Windows in Get-File function.

  • Minified the release file dist/index.js file generated by vercel/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

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

v2.30.0

Compare Source

Changelog
  • Added support to set custom composer timeout (#​811)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    COMPOSER_PROCESS_TIMEOUT: 300

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.29.0

Compare Source

Changelog
  • Added support for 'lowest' and 'highest' aliases to specify PHP versions. #​794
    • The lowest alias installs the lowest actively supported version in the PHP project.
    • The 'highest' alias is equivalent to the 'latest' alias, so it installs the latest supported stable PHP version.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: lowest # or highest
  • Added support for thread-safe builds on macOS. This completes the support for thread-safe builds on all supported platforms.
- name: Setup ZTS PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    phpts: zts
  • Updated documentation for support to read the PHP version from composer.lock and composer.json files.
    • If php-version and php-version-file inputs are not specified, then it can read the php version from platform-overrides.php value in composer.lock or config.platform.php value from composer.json. #​800
- name: Checkout
  uses: actions/checkout@v4
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  • Switched to the new PHPCSStandards/PHP_CodeSniffer repository for builds of phpcs and phpcbf tools. #​809
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    tools: phpcs, phpcbf
  • Marked v1 version of the action as completely unsupported, it will receive no updates, please upgrade to v2, 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 use ext/random/php_random.h header.

  • Improved support for phalcon to install the extension when specified without the version number. #​796

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: phalcon
  • Updated codeql workflow to use v3 versions of codeql actions. #​803

  • Updated docs workflow to use actions/download-artifact@v4 and actions/upload-artifact@v4. #​804, #​805

  • Updated 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

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

v2.28.0

Compare Source

Changelog

  • Specifying 8.3 in php-version now installs a stable build of PHP 8.3.
- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  • Specifying latest in php-version now installs PHP 8.3 as well.
- name: Setup Latest PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 'latest'
  • Specifying nightly in php-version now installs PHP 8.4.
- name: Setup Nightly PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 'nightly'
- name: Setup PHP with intl
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: intl-74.1
  • Added support to specify zts in phpts environment variable instead of ts to set up thread-safe PHP on Linux and Windows.
- name: Setup PHP 8.3 (ZTS)
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    phpts: zts
  • Fixed support for debug builds. (#​784)
- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    debug: true
  • 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.

- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: swoole
  • 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 as Security fixes only in README.
    See PHP Support in README.

  • Fixed support for Blackfire extension. The action now disabled Xdebug and pcov extensions by default when blackfire is specified in extensions input.

- name: Setup PHP with blackfire extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: blackfire
  • Fixed support for grpc_php_plugin when installed along with protoc on macOS.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    tools: protoc, grpc_php_plugin
  • Fixed support for geos extension on PHP 8.3.
- name: Setup PHP with geos extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: geos
  • Fixed support for event extension on macOS to use openssl@3 formula.
- name: Setup PHP with geos extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: event
  • Update Node.js dependencies.

Merged Pull Requests

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.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 from v3 to v4 in the node workflow.

  • Update Node.js dependencies.

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.27.0

Compare Source

Changelog
  • Tools box and php-scoper can now be installed easily using the tools input. (#​776)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
    tools: box, php-scoper
  • 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 in https agent to false in fetch.ts. After Node 19 it is set to true by default. This prevented the node process from exiting until timeout after the action run was completed. (#​773, #​777) - Ref

  • Fixed support for couchbase extension for PHP 7.4.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.4'
    extensions: couchbase
  • 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

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

v2.26.0

Compare Source

Changelog
Microsoft SQL Server extensions. (#​758, #​766)

The latest supported version of sqlsrv and pdo_sqlsrv for the PHP version will be installed.
Also, on Windows, these extensions will be installed from microsoft/msphpsql GitHub releases and will fallback to pecl.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
    extensions: sqlsrv, pdo_sqlsrv
PHP 8.4 Support (#​762)

Added support for PHP 8.4.0-dev from the master branch of php/php-src for all supported OS.
Note: PHP 8.3.0-dev is now built from the new PHP-8.3 branch.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
Fixes
Blackfire Player

Resolved issues affecting the blackfire-player on Linux and macOS. It now installs the uuid extension that is required for the tool.
Dropped support for it on Windows as uuid extension is not available for the OS.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    tools: blackfire-player
Updates
Update actions/checkout

Updated the use of actions/checkout to v4 in the documentation and workflows.

- name: Checkout
  uses: actions/checkout@v4
Update Node.js Version

Note: Node.js 16 reached End-of-Life on 2023-09-11 (Ref).

Updated action.yml to use the node20 binary. If you use setup-php on a self-hosted runner, please make sure it is v2.308.0 or newer to use this release or the major version tag v2.

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

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.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.45%. Comparing base (898f2c3) to head (90e0c08).

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #47      +/-   ##
============================================
- Coverage     82.72%   80.45%   -2.27%     
  Complexity      691      691              
============================================
  Files            18       18              
  Lines          1719     1719              
============================================
- Hits           1422     1383      -39     
- Misses          297      336      +39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.26.0 Update shivammathur/setup-php action to v2.27.0 Nov 1, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 329feed to d90c63b Compare November 1, 2023 22:59
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.27.0 Update shivammathur/setup-php action to v2.27.1 Nov 7, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from d90c63b to 78ad38d Compare November 7, 2023 10:56
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.27.1 Update shivammathur/setup-php action to v2.28.0 Nov 27, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 78ad38d to 09604db Compare November 27, 2023 16:40
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.28.0 Update shivammathur/setup-php action to v2.29.0 Jan 15, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 09604db to 45bfa64 Compare January 15, 2024 10:19
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 45bfa64 to ed9eeb3 Compare March 2, 2024 11:39
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.29.0 Update shivammathur/setup-php action to v2.30.0 Mar 2, 2024
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.30.0 Update shivammathur/setup-php action to v2.30.1 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from ed9eeb3 to fae2422 Compare March 25, 2024 13:36
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.30.1 Update shivammathur/setup-php action to v2.30.2 Mar 31, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from fae2422 to d4ff082 Compare March 31, 2024 01:38
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from d4ff082 to 4856f5e Compare April 21, 2024 18:04
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.30.2 Update shivammathur/setup-php action to v2.30.3 Apr 21, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 4856f5e to ae33584 Compare April 24, 2024 02:15
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.30.3 Update shivammathur/setup-php action to v2.30.4 Apr 24, 2024
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.30.4 Update shivammathur/setup-php action to v2.30.5 Jun 3, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from ae33584 to 6b2c855 Compare June 3, 2024 08:42
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 6b2c855 to fc94065 Compare June 24, 2024 07:05
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.30.5 Update shivammathur/setup-php action to v2.31.0 Jun 24, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from fc94065 to 90e0c08 Compare July 9, 2024 16:25
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.31.0 Update shivammathur/setup-php action to v2.31.1 Jul 9, 2024
Copy link

sonarqubecloud bot commented Jul 9, 2024

@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 90e0c08 to c5d39b6 Compare December 30, 2024 16:59
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.31.1 Update shivammathur/setup-php action to v2.32.0 Dec 30, 2024
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