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

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
shivammathur/setup-php action minor 2.22.0 -> 2.29.0

Release Notes

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

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

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

v2.25.5

Compare Source

Changelog
  • Added support for castor in tools input. #​746
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
    tools: castor
  • Fixed 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

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

v2.25.4

Compare Source

Changelog
  • Fixed regression in 2.25.3 in PHPUnit installation by specifying major or major.minor version in the tools input. #​743

  • Fixed fs import in utls.test.ts.

  • Updated Node.js dependencies.

Full Changelog: shivammathur/setup-php@2.25.3...2.25.4

Follow for updates

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

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. #​742

  • Fixed regression in support for Zend extensions installed using PECL. #​738

  • Fixed PHPUnit and phpcpd support to set up versions compatible with the PHP version. #​732

  • Fixed support for nektos/act to run the action in self-hosted mode when using the tool. #​742

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

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

v2.25.2

Compare Source

Changelog
New Contributors

Full Changelog: shivammathur/setup-php@2.25.1...2.25.2

Follow for updates

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

v2.25.1

Compare Source

Changelog

  • Fixed regression in support for event extension in 2.25.0 (#​722).
  • Added fallback to GitHub API in Add-DebugSymbols on Windows.
  • Updated Node.js dependencies.

Full Changelog: shivammathur/setup-php@2.25.0...2.25.1

Follow for updates

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

v2.25.0

Compare Source

Changelog
  • Dropped support for Ubuntu 18.04. (#​717)
    Please use ubuntu-22.04 or ubuntu-20.04 runners.
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-22.04

##### or

- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
  • 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 the php-version-file input.

- name: Checkout
  uses: actions/checkout@v3

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version-file: .php-version
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    extensions: intl-73.1
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    extensions: snmp, uuid
  • 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 of Exit on Windows as that did not stop the workflow on errors. (#​709)

  • Improved support for relay extension. #​719

  • Fixed support for zts build of zephir_parser extension. #​701

  • Fixed parameters in the xargs call. #​712

  • Fixed 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
New Contributors

Thanks! for the contribution 🎉

Follow for updates

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

v2.24.0

Compare Source

Support Ukraine

#StandWithUkraine


  • Added support for relay extension on Linux and macOS for PHP 7.4 to 8.2. (#​682)
- name: Install PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
    extensions: relay # or specific version like relay-0.4.6 
  env:
    RELAY_KEY: ${{ secrets.RELAY_KEY }}
    RELAY_ENVIRONMENT: development
    RELAY_EVICTION_POLICY: lru
    RELAY_MAX_MEMORY: 256M
  • Improved support for zephir_parser extension. (#​681)
- name: Install PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
    extensions: zephir_parser
  • Fixed support for self-hosted environments with outdated package lists. (#​688)

  • Fixed logs for coverage extensions on PHP 8.3. (#​685)

  • Fixed PECL options parsing on macOS. (#​680)

  • Fixed support for blackfire-player.

  • Fixed fetching phalcon release asset URL on Windows.

  • Fixed protoc support to account for release versions in major.minor format.

  • Change the choco install script URL to avoid redirecting.

  • Refactored function names in scripts for tools and extensions with custom support.

  • Updated Node.js dependencies.


Full Changelog: shivammathur/setup-php@2.23.0...2.24.0

Thanks! @​tillkruss, @​quick-order, @​jobbsy-dev, and @​DracoBlue for the sponsorship ❤️

Thanks! @​Rotzbua for the contribution 🎉

Follow for updates

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

v2.23.0

Compare Source

Support Ukraine

#StandWithUkraine


  • Added support for nightly builds of PHP 8.3.
    Note: Specifying nightly as the php-version now will set up PHP 8.3.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  • PHP 8.2 is now stable on setup-php. #​673
    Notes:
    • Specifying latest or 8.x as the php-version now will set up PHP 8.2.
    • Except ubuntu-22.04, all GitHub runners now have PHP 8.2 as the default version.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
  • Added support for thread-safe builds of PHP on Linux. #​651
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
  env:
    phpts: ts

Full Changelog: shivammathur/setup-php@2.22.0...2.23.0

Merry Christmas and happy holidays! 🎄🎁

Thanks! @​jrfnl and @​flavioheleno for the contributions 🎉

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 has been generated by Mend Renovate. View repository job log here.

Copy link

what-the-diff bot commented Jan 15, 2024

PR Summary

  • Upgraded PHP Setup Tool Used In Several Workflow Files
    The PHP setup tool used in our code-style.yml, mutation-tests.yml, static-analysis.yml and tests.yml workflow files has been upgraded from version 2.22.0 to 2.29.0. This upgrade provides improved performance and latest features of the setup tool which will enhance our development and testing workflows.

Copy link

Since this pull request has not had any activity within the last 5 days, I have marked it as stale.
I will close it if no further activity occurs within the next 5 days.

@github-actions github-actions bot added the stale label Jan 20, 2024
@github-actions github-actions bot closed this Jan 25, 2024
Copy link
Contributor Author

renovate bot commented Jan 25, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (2.29.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/shivammathur-setup-php-2.x branch January 25, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants