Skip to content

Commit

Permalink
Use ramsey/composer-install
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk committed Sep 12, 2024
1 parent 576946a commit 3f43613
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- name: Set up locales
run: ./hack/setup-locales.sh

- name: Download dependencies
run: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --no-suggest --prefer-lowest --classmap-authoritative
- uses: "ramsey/composer-install@v3"
with:
dependency-versions: "lowest"

- name: Run tests
run: composer test
Expand Down Expand Up @@ -59,8 +60,10 @@ jobs:
- name: Set up locales
run: ./hack/setup-locales.sh

- name: Download dependencies
run: composer install --classmap-authoritative
- uses: "ramsey/composer-install@v3"
with:
# We need to ignore PHP because Psalm blocks installing it
composer-options: "--ignore-platform-req=php"

- name: Run tests
run: composer test
Expand All @@ -79,8 +82,7 @@ jobs:
php-version: '8.1'
extensions: bcmath, gmp, intl, dom, mbstring

- name: Download dependencies
run: composer install --classmap-authoritative
- uses: "ramsey/composer-install@v3"

- name: Psalm
run: vendor/bin/psalm
Expand Down

0 comments on commit 3f43613

Please sign in to comment.