Skip to content

Commit

Permalink
Use Composer's "with" option in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Jan 8, 2023
1 parent 4866dc0 commit c48d3eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
composer update --with="illuminate/contracts=${{ matrix.laravel }}" --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/pest --verbose
Expand Down

0 comments on commit c48d3eb

Please sign in to comment.