Skip to content

Commit 4c8ce8c

Browse files
committed
Laravel 9 support
1 parent b4c07d0 commit 4c8ce8c

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: [7.2, 7.3, 7.4, 8.0, 8.1]
17-
laravel: [^6.0, ^7.0, ^8.0]
16+
php: [7.2, 7.3, 7.4, '8.0', 8.1]
17+
laravel: [6, 7, 8, 9]
1818
exclude:
1919
- php: 7.2
20-
laravel: ^8.0
20+
laravel: 8
21+
- php: 7.2
22+
laravel: 9
23+
- php: 7.3
24+
laravel: 9
25+
- php: 7.4
26+
laravel: 9
2127
- php: 8.1
22-
laravel: ^6.0
28+
laravel: 6
2329
- php: 8.1
24-
laravel: ^7.0
30+
laravel: 7
2531

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

@@ -39,7 +45,7 @@ jobs:
3945

4046
- name: Install dependencies
4147
run: |
42-
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
48+
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
4349
composer update --prefer-dist --no-interaction --no-progress
4450
4551
- name: Execute tests

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"require": {
1717
"php": "^7.2|^8.0",
1818
"ext-json": "*",
19-
"illuminate/contracts": "^6.9|^7.0|^8.0",
20-
"illuminate/database": "^6.9|^7.0|^8.0",
21-
"illuminate/support": "^6.9|^7.0|^8.0"
19+
"illuminate/contracts": "^6.9|^7.0|^8.0|^9.0",
20+
"illuminate/database": "^6.9|^7.0|^8.0|^9.0",
21+
"illuminate/support": "^6.9|^7.0|^8.0|^9.0"
2222
},
2323
"require-dev": {
2424
"mockery/mockery": "^1.0",
25-
"orchestra/testbench": "^4.0|^5.0|^6.0",
25+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0",
2626
"phpunit/phpunit": "^8.0|^9.3"
2727
},
2828
"autoload": {

0 commit comments

Comments
 (0)