Skip to content
Compare
Choose a tag to compare
@shivammathur shivammathur released this 14 Jul 09:23
947009a
  • Add support to specify major or major.minor versions for tools. Docs, #467
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.4'
    tools: php-cs-fixer:3, phpunit:8.5
  env:
    COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  • Add a php-version output which can be used in later steps. Docs, #470
- name: Setup PHP
  id: setup-php
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.4'

- name: Print PHP version
  run: echo ${{ steps.setup-php.outputs.php-version }}
  • Like Ubuntu, add PHP commit hash in PHP 8.1 (nightly) logs on Windows and macOS.
  • Use composer to install composer-require-checker. #473
  • Use shivammathur/extensions tap for rdkafka extension on macOS. shivammathur/homebrew-php#365
  • Support for Ubuntu 16.04 was dropped on August 1, 2021. 📢Announcement: #452
  • Set the Firebird client version to 3.0.7 on macOS.
  • Improve grpc_php_plugin support on Ubuntu and macOS.
  • Minor fixes for self-hosted setup on Ubuntu.
  • Improve PHP setup on macOS to be more resilient to dependency version inconsistencies.
  • Fix to enable extensions disabled with phpdismod on Ubuntu. actions/runner-images#3472
  • Fix Imagick setup with shivammathur/cache-extensions action on Windows. #455
  • Fix support for OCI extensions oci8 and pdo_oci. #449
  • Fix to not use system PHP on macOS.
  • Fix support for Imagick for PHP 5.3 to 5.5 on macOS.
  • Fix installing protoc on macOS.
  • Hotfix: Fix permissions of COMPOSER_HOME directory. #477
  • Hotfix: Fix support for phive on PHP 7.2. #481

Internal

  • Update contributors SVG in README.md to include contributors from setup-php and all related projects.
  • Move tools set up details from tools.ts to tools.json config.
  • Improve error handling in utils.fetch and its uses.
  • Refactor tests for tools using jest.Each.
  • Update Ubuntu 16.04 warning in install.ts.
  • Set sourceMap to true in tsconfig.json.
  • Update Node.js dependencies.