Skip to content

Commit 5f2947a

Browse files
committed
use correct laravel versions in ci
1 parent 18eafd3 commit 5f2947a

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/sca.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ jobs:
3838
restore-keys: composer-
3939

4040
- name: Install Composer dependencies
41-
run: |
42-
composer require laravel/framework:${{ matrix.laravel }} --no-update
43-
composer update --${{ matrix.stability }}
41+
run: composer update laravel/framework:${{ matrix.laravel }} orchestra/testbench --with-all-dependencies --${{ matrix.stability }}
4442

4543
- name: Run PHPStan
4644
run: vendor/bin/phpstan analyse --no-progress --no-interaction

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ jobs:
3838
restore-keys: composer-
3939

4040
- name: Install Composer dependencies
41-
run: |
42-
composer require laravel/framework:${{ matrix.laravel }} --no-update
43-
composer update --${{ matrix.stability }}
41+
run: composer update laravel/framework:${{ matrix.laravel }} orchestra/testbench --with-all-dependencies --${{ matrix.stability }}
4442

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"require-dev": {
3232
"jrmajor/cs": "^0.4.6",
33-
"orchestra/testbench": "^6.25 || ^7.17",
33+
"orchestra/testbench": "^7.0",
3434
"phpstan/phpstan": "^1.9",
3535
"phpunit/phpunit": "^9.5"
3636
},

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)