Skip to content

Commit d7813a7

Browse files
authored
Support for Laravel 12 (#9)
1 parent c0bdb64 commit d7813a7

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/run-tests.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
php: [8.4, 8.3, 8.2]
12-
laravel: [11.*, 10.*]
12+
laravel: [12.0, 11.43, 10.48]
1313
dependency-version: [prefer-lowest, prefer-stable]
1414
include:
15-
- laravel: 11.*
16-
testbench: 9.*
17-
- laravel: 10.*
18-
testbench: 8.*
15+
- laravel: 12.0
16+
testbench: 10.0
17+
- laravel: 11.43
18+
testbench: 9.11
19+
- laravel: 10.48
20+
testbench: 8.33
1921

2022
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2123

@@ -38,7 +40,7 @@ jobs:
3840

3941
- name: Install dependencies
4042
run: |
41-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43+
composer require "laravel/framework:^${{ matrix.laravel }}" "orchestra/testbench:^${{ matrix.testbench }}" --no-interaction --no-update
4244
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
4345
4446
- name: Execute tests

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
],
1818
"require": {
1919
"php": "^8.4 || ^8.3 || ^8.2",
20-
"illuminate/mail": "^10.0|^11.0",
21-
"illuminate/view": "^10.0|^11.0"
20+
"illuminate/mail": "^10.48|^11.43|^12.0",
21+
"illuminate/view": "^10.48|^11.43|^12.0"
2222
},
2323
"require-dev": {
24-
"orchestra/testbench": "^8.0|^9.0",
25-
"phpunit/phpunit": "^10.4"
24+
"orchestra/testbench": "^8.33|^9.11|^10.0",
25+
"phpunit/phpunit": "^10.4|^11.5.3"
2626
},
2727
"autoload": {
2828
"psr-4": {

0 commit comments

Comments
 (0)