Skip to content

Commit 580024b

Browse files
jrfnlgrogy
authored andcommitted
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. Includes adding `--no-interaction` to one "plain" Composer command to potentially prevent CI hanging if, for whatever reason, interaction would be needed in the future. 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 0d14a2d commit 580024b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/cs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# Install dependencies and handle caching in one go.
3232
# @link https://github.com/marketplace/actions/install-composer-dependencies
3333
- name: Install Composer dependencies
34-
uses: "ramsey/composer-install@v1"
34+
uses: "ramsey/composer-install@v2"
3535

3636
- name: Check PHP code style
3737
continue-on-error: true

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ jobs:
4343
# Remove the PHPCS standard as it has a minimum PHP requirements of PHP 5.4 and would block install on PHP 5.3.
4444
- name: 'Composer: remove PHPCS'
4545
if: ${{ matrix.php < 5.4 }}
46-
run: composer remove --dev php-parallel-lint/php-code-style --no-update
46+
run: composer remove --dev php-parallel-lint/php-code-style --no-update --no-interaction
4747

4848
# Install dependencies and handle caching in one go.
4949
# @link https://github.com/marketplace/actions/install-composer-dependencies
5050
- name: Install Composer dependencies - normal
5151
if: ${{ matrix.experimental == false }}
52-
uses: "ramsey/composer-install@v1"
52+
uses: "ramsey/composer-install@v2"
5353

5454
# For the PHP "nightly", we need to install with ignore platform reqs as not all dependencies allow it.
5555
- name: Install Composer dependencies - with ignore platform
5656
if: ${{ matrix.experimental == true }}
57-
uses: "ramsey/composer-install@v1"
57+
uses: "ramsey/composer-install@v2"
5858
with:
5959
composer-options: --ignore-platform-reqs
6060

0 commit comments

Comments
 (0)