Skip to content

Commit

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

* Update tests.yml

* Update tests.yml
  • Loading branch information
driesvints committed Jan 10, 2023
1 parent a4dec1e commit 74d0b28
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,34 @@ jobs:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2]
laravel: [^6.0, ^7.0, ^8.0, ^9.0]
laravel: [6, 7, 8, 9, 10]
exclude:
- php: 7.2
laravel: ^8.0
laravel: 8
- php: 7.2
laravel: ^9.0
laravel: 9
- php: 7.2
laravel: 10
- php: 7.3
laravel: 9
- php: 7.3
laravel: ^9.0
laravel: 10
- php: 7.4
laravel: 9
- php: 7.4
laravel: ^9.0
laravel: 10
- php: '8.0'
laravel: 10
- php: 8.1
laravel: ^6.0
laravel: 6
- php: 8.1
laravel: ^7.0
laravel: 7
- php: 8.2
laravel: ^6.0
laravel: 6
- php: 8.2
laravel: ^7.0
laravel: 7
- php: 8.2
laravel: ^8.0
laravel: 8

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

Expand All @@ -55,7 +63,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
],
"require": {
"php": "^7.2.5|^8.0",
"illuminate/console": "^6.0|^7.0|^8.0|^9.0",
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
"illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0",
"psy/psysh": "^0.10.4|^0.11.1",
"symfony/var-dumper": "^4.3.4|^5.0|^6.0"
},
Expand All @@ -22,7 +22,7 @@
"phpunit/phpunit": "^8.5.8|^9.3.3"
},
"suggest": {
"illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0)."
"illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0)."
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 74d0b28

Please sign in to comment.