Skip to content

Commit

Permalink
use correct laravel versions in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Dec 26, 2022
1 parent 18eafd3 commit 5f2947a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/sca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ jobs:
restore-keys: composer-

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

- name: Run PHPStan
run: vendor/bin/phpstan analyse --no-progress --no-interaction
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ jobs:
restore-keys: composer-

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

- name: Execute tests
run: vendor/bin/phpunit
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"require-dev": {
"jrmajor/cs": "^0.4.6",
"orchestra/testbench": "^6.25 || ^7.17",
"orchestra/testbench": "^7.0",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5"
},
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5f2947a

Please sign in to comment.