Skip to content

Commit ecbabb5

Browse files
Support Laravel 12 (#931)
* chore: support laravel 12 * ci: allow phpunit 11
1 parent af5b239 commit ecbabb5

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/run-tests.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest]
1616
php: [8.4, 8.3, 8.2]
17-
laravel: [11.*, 10.*]
17+
laravel: [12.*, 11.*, 10.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20+
- laravel: 12.*
21+
testbench: 10.*
2022
- laravel: 11.*
2123
testbench: 9.*
2224
- laravel: 10.*
@@ -42,7 +44,7 @@ jobs:
4244
4345
- name: Install dependencies
4446
run: |
45-
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64" "orchestra/testbench-browser-kit:${{ matrix.testbench }}" --no-interaction --no-update
47+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench-browser-kit:${{ matrix.testbench }}" --no-interaction --no-update
4648
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4749
4850
- name: Execute tests

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
],
1818
"require": {
1919
"php": "^8.2",
20-
"laravel/framework": "^10.0|^11.0"
20+
"laravel/framework": "^10.0|^11.0|^12.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench-browser-kit": "^8.5|^9.0",
24-
"phpunit/phpunit": "^10.1"
23+
"orchestra/testbench-browser-kit": "^8.5|^9.0|^10.0",
24+
"phpunit/phpunit": "^10.1|^11.0"
2525
},
2626
"suggest": {
2727
"ext-intl": "*"

0 commit comments

Comments
 (0)