Skip to content

Commit

Permalink
Uninstall packages that is not necessary for the current matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
KentarouTakeda committed Feb 16, 2025
1 parent a1ca60c commit 79c5a36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ jobs:
if: ${{ matrix.unstable }}
run: composer config minimum-stability dev --ansi

- name: Uninstall packages that is not necessary for the current matrix
if: ${{ !matrix.current }}
run: composer remove --dev friendsofphp/php-cs-fixer larastan/larastan phpstan/phpstan phpstan/phpstan-mockery --no-interaction --no-update

- name: Install Composer dependencies
run: composer update --prefer-${{ matrix.stability }} ${{ matrix.option }} --no-interaction --no-progress --ansi

Expand Down

0 comments on commit 79c5a36

Please sign in to comment.