Skip to content

Commit

Permalink
update: use composer install not composer update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonej committed Mar 8, 2024
1 parent 1f6f319 commit cf5ec1f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
laravel: [10.0, 11.0]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.0
testbench: 8.0
- laravel: 11.x-dev
testbench: 9.x-dev
- laravel: "10.0"
testbench: "8.0"
- laravel: "11.x-dev"
testbench: "9.x-dev"
name: PHP ${{ matrix.php }} - Laravel v${{ matrix.laravel }} - ${{ matrix.stability }}
steps:
- name: Checkout code
Expand All @@ -41,10 +41,10 @@ jobs:
coverage: none

- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
run: composer install --prefer-dist --no-interaction --no-suggest

- name: Require specific versions of packages
run: composer update laravel/framework:^${{ matrix.laravel }} orchestra/testbench:^${{ matrix.testbench }} -W
run: composer update --${{ matrix.staibility }} laravel/framework:^${{ matrix.laravel }} orchestra/testbench:^${{ matrix.testbench }} -W

- name: Execute tests
run: vendor/bin/phpunit

0 comments on commit cf5ec1f

Please sign in to comment.