Skip to content

Commit

Permalink
Laravel v10 Support (#1292)
Browse files Browse the repository at this point in the history
* Update composer.json

* Update tests.yml
  • Loading branch information
driesvints authored Jan 13, 2023
1 parent 227b8f0 commit 05a2ffc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2]
laravel: [8.*, 9.*]
laravel: [8, 9, 10]
exclude:
- php: '8.0'
laravel: 10
- php: 8.2
laravel: 8.*
laravel: 8

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand All @@ -46,7 +48,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --dev --no-update
composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"require": {
"php": "^8.0",
"ext-json": "*",
"laravel/framework": "^8.37|^9.0",
"laravel/framework": "^8.37|^9.0|^10.0",
"symfony/var-dumper": "^5.0|^6.0"
},
"require-dev": {
"ext-gd": "*",
"guzzlehttp/guzzle": "^6.0|^7.0",
"orchestra/testbench": "^6.0|^7.0"
"orchestra/testbench": "^6.0|^7.0|^8.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 05a2ffc

Please sign in to comment.