Skip to content

Commit afeaefa

Browse files
committed
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
1 parent 67c82d9 commit afeaefa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# Dependencies need to be installed to make sure the PHPUnit classes are recognized.
3434
# @link https://github.com/marketplace/actions/install-composer-dependencies
3535
- name: Install Composer dependencies
36-
uses: "ramsey/composer-install@v1"
36+
uses: "ramsey/composer-install@v2"
3737

3838
- name: Run PHPStan
3939
run: phpstan analyse --configuration=phpstan.neon

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ jobs:
116116
# @link https://github.com/marketplace/actions/install-composer-dependencies
117117
- name: Install Composer dependencies - normal
118118
if: ${{ matrix.php < '8.0' }}
119-
uses: "ramsey/composer-install@v1"
119+
uses: "ramsey/composer-install@v2"
120120

121121
# For PHP 8.0+, we need to install with ignore platform reqs as PHPUnit 7 is still used.
122122
- name: Install Composer dependencies - with ignore platform
123123
if: ${{ matrix.php >= '8.0' }}
124-
uses: "ramsey/composer-install@v1"
124+
uses: "ramsey/composer-install@v2"
125125
with:
126126
composer-options: --ignore-platform-reqs
127127

0 commit comments

Comments
 (0)