Skip to content

Commit 4ed1597

Browse files
authored
Add support for Laravel 9 (#9)
1 parent 07c04a6 commit 4ed1597

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [7.3, 7.4, 8.0]
17-
laravel: [^8.0]
16+
php: [7.3, 7.4, 8.0, 8.1]
17+
laravel: [8, 9]
18+
exclude:
19+
- php: 7.3
20+
laravel: 9
21+
- php: 7.4
22+
laravel: 9
1823

1924
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2025

@@ -32,7 +37,7 @@ jobs:
3237

3338
- name: Install dependencies
3439
run: |
35-
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
40+
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
3641
composer update --prefer-dist --no-interaction --no-progress
3742
- name: Execute tests
3843
run: vendor/bin/phpunit --verbose

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"require": {
1919
"php": "^7.3|^8.0",
2020
"laravel/scout": "^9.0",
21-
"illuminate/database": "^8.0",
22-
"illuminate/support": "^8.0"
21+
"illuminate/database": "^8.0|^9.0",
22+
"illuminate/support": "^8.0|^9.0"
2323
},
2424
"require-dev": {
2525
"phpunit/phpunit": "^9.3",

0 commit comments

Comments
 (0)