Skip to content

Commit 8eb942d

Browse files
Merge pull request #140 from laravel-shift/l12-compatibility
Laravel 12.x Compatibility
2 parents c8984eb + dae3c2c commit 8eb942d

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,30 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
67
pull_request:
7-
branches: [main]
8+
branches:
9+
- main
810

911
jobs:
1012
test:
1113
runs-on: ${{ matrix.os }}
14+
1215
strategy:
1316
fail-fast: true
1417
matrix:
1518
os: [ubuntu-latest, windows-latest]
1619
php: [8.2, 8.1]
17-
laravel: [10.*]
20+
laravel: ['10.*', '12.*']
1821
stability: [prefer-lowest, prefer-stable]
1922
include:
2023
- laravel: 10.*
2124
testbench: 8.*
2225
carbon: ^2.63
26+
exclude:
27+
- laravel: 12.*
28+
php: 8.1
2329

2430
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2531

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
"php": "^8.1",
2525
"filament/forms": "^3.0",
2626
"spatie/laravel-package-tools": "^1.15.0",
27-
"illuminate/contracts": "^10.0|^11.0"
27+
"illuminate/contracts": "^10.0|^11.0|^12.0"
2828
},
2929
"require-dev": {
3030
"nunomaduro/collision": "^7.9",
31-
"orchestra/testbench": "^8.0|^9.0",
32-
"pestphp/pest": "^2.0",
33-
"pestphp/pest-plugin-arch": "^2.0",
34-
"pestphp/pest-plugin-laravel": "^2.0"
31+
"orchestra/testbench": "^8.0|^9.0|^10.0",
32+
"pestphp/pest": "^2.0|^3.7",
33+
"pestphp/pest-plugin-arch": "^2.0|^3.0",
34+
"pestphp/pest-plugin-laravel": "^2.0|^3.1"
3535
},
3636
"autoload": {
3737
"psr-4": {

0 commit comments

Comments
 (0)