GH Actions: version update for `ramsey/composer-install`

The action used to install Composer packages and handle the caching has released a new major (and some follow-up patch releases), which means, the action reference needs to be updated to benefit from it.

Refs:
* https://github.com/ramsey/composer-install/releases/tag/2.0.0
* https://github.com/ramsey/composer-install/releases/tag/2.0.1
* https://github.com/ramsey/composer-install/releases/tag/2.0.2
This commit is contained in:
jrfnl 2021-12-24 05:09:10 +01:00
parent efd3262af8
commit 7fe0ce642b
1 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ jobs:
# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-composer-dependencies
- name: Install Composer dependencies
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"
- name: Check coding standards
continue-on-error: true
@ -62,7 +62,7 @@ jobs:
# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-composer-dependencies
- name: Install Composer dependencies
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"
- name: Lint against parse errors
if: ${{ matrix.php != '8.2' }}
@ -123,11 +123,11 @@ jobs:
# @link https://github.com/marketplace/actions/install-composer-dependencies
- name: Install PHP packages - normal
if: ${{ matrix.php != '8.2' }}
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"
- name: Install PHP packages - ignore-platform-reqs
if: ${{ matrix.php == '8.2' }}
uses: "ramsey/composer-install@v1"
uses: "ramsey/composer-install@v2"
with:
composer-options: --ignore-platform-reqs