Skip to content

Commit

Permalink
GH Actions: update the ramsey/composer-install action runner
Browse files Browse the repository at this point in the history
The v2 version still uses Node 16, while GHA will stop supporting that soonish. Using v3 fixes that.
  • Loading branch information
jrfnl committed Sep 9, 2024
1 parent 5112281 commit 0d047e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: composer self-update --1

- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"

- name: PHPUnit tests
run: vendor/bin/phpunit
Expand Down Expand Up @@ -58,11 +58,11 @@ jobs:

- name: Install Composer dependencies (PHP < 8.4)
if: ${{ matrix.php-versions != '8.4' }}
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"

- name: Install Composer dependencies - ignore-platform-reqs (PHP 8.4)
if: ${{ matrix.php-versions == '8.4' }}
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
composer-options: --ignore-platform-reqs

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
coverage: none

- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"
uses: "ramsey/composer-install@v3"
with:
composer-options: --no-dev

Expand Down

0 comments on commit 0d047e6

Please sign in to comment.