Skip to content

Commit 181b77b

Browse files
authored
Merge pull request #23 from tanghengzhi/main
Support Laravel 12
2 parents 0d8abab + 9ce3734 commit 181b77b

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/run-tests.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.3, 8.2, 8.1]
17-
laravel: [10.*, 11.*]
16+
php: [8.4, 8.3, 8.2, 8.1]
17+
laravel: [10.*, 11.*, 12.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: 10.*
@@ -23,9 +23,17 @@ jobs:
2323
- laravel: 11.*
2424
testbench: 9.*
2525
carbon: ^2.72.2
26+
- laravel: 12.*
27+
testbench: 10.*
28+
carbon: ^3.8.4
2629
exclude:
30+
- Laravel: 10.*
31+
php: 8.4
2732
- Laravel: 11.*
2833
php: 8.1
34+
- Laravel: 12.*
35+
php: 8.1
36+
2937

3038
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3139

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
}
2020
],
2121
"require": {
22-
"php": "^8.1|^8.2|^8.3",
23-
"illuminate/contracts": "^10.10|^11.0"
22+
"php": "^8.1|^8.2|^8.3|^8.4",
23+
"illuminate/contracts": "^10.10|^11.0|^12.0"
2424
},
2525
"require-dev": {
2626
"laravel/pint": "^1.0",
2727
"nunomaduro/collision": "^7.9|^8.0",
28-
"orchestra/testbench": "^8.0|^9.0",
29-
"pestphp/pest": "^2.0",
30-
"pestphp/pest-plugin-arch": "^2.0",
31-
"pestphp/pest-plugin-laravel": "^2.2"
28+
"orchestra/testbench": "^8.0|^9.0|^10.0",
29+
"pestphp/pest": "^2.0|^3.0",
30+
"pestphp/pest-plugin-arch": "^2.0|^3.0",
31+
"pestphp/pest-plugin-laravel": "^2.2|^3.0"
3232
},
3333
"autoload": {
3434
"psr-4": {

0 commit comments

Comments
 (0)