Skip to content

Commit

Permalink
Use Composer 2 for PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Oct 12, 2020
1 parent 224aea9 commit 6fd7303
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ jobs:
run: composer update ${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-progress --no-suggest
- name: 'Install PHP dependencies on PHP 8 (TODO: remove that)'
if: matrix.php == '8.0'
run: composer update --ignore-platform-reqs ${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-progress --no-suggest
run: |
# Install Composer 2
composer self-update --snapshot
composer update --ignore-platform-reqs ${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-progress --no-suggest
- name: PHPUnit
run: vendor/bin/phpunit

Expand Down

0 comments on commit 6fd7303

Please sign in to comment.