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 2cbebe2 commit a0b0e19
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 @@ -28,8 +28,9 @@ jobs:
- name: Use dev branches for moneyphp packages
run: composer require --dev --no-update moneyphp/crypto-currencies:dev-main moneyphp/iso-currencies:dev-master

- 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 @@ -65,8 +66,10 @@ jobs:
- name: Use dev branches for moneyphp packages
run: composer require --dev --no-update moneyphp/crypto-currencies:dev-main moneyphp/iso-currencies:dev-master

- 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 @@ -88,8 +91,7 @@ jobs:
- name: Use dev branches for moneyphp packages
run: composer require --dev --no-update moneyphp/crypto-currencies:dev-main moneyphp/iso-currencies:dev-master

- 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 a0b0e19

Please sign in to comment.