Skip to content

Commit 346c1d1

Browse files
Laravel 12.x Compatibility (#689)
* Bump dependencies for Laravel 12 * Update GitHub Actions for Laravel 12 * Update actions/cache version --------- Co-authored-by: Santiago Garcia <santigarcor@gmail.com>
1 parent a35abe7 commit 346c1d1

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,20 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
php: [8.1, 8.2, 8.3, 8.4]
15-
laravel: [10.*, 11.*]
15+
laravel: ["10.*", "11.*", "12.*"]
1616
stability: [prefer-lowest, prefer-stable]
1717
include:
1818
- laravel: 10.*
1919
testbench: ^8.20
2020
- laravel: 11.*
2121
testbench: ^9.0
22+
- laravel: 12.*
23+
testbench: ^10.0
2224
exclude:
2325
- php: 8.1
2426
laravel: 11.*
27+
- laravel: 12.*
28+
php: 8.1
2529

2630
name: PHP ${{ matrix.php }} - ${{ matrix.laravel }} - ${{ matrix.stability }}
2731

@@ -30,7 +34,7 @@ jobs:
3034
uses: actions/checkout@v2
3135

3236
- name: Cache dependencies
33-
uses: actions/cache@v1
37+
uses: actions/cache@v4
3438
with:
3539
path: ~/.composer/cache/files
3640
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
"require": {
2424
"php": ">=8.1",
2525
"kkszymanowski/traitor": "^1.0",
26-
"laravel/framework": "^10.0|^11.0"
26+
"laravel/framework": "^10.0|^11.0|^12.0"
2727
},
2828
"require-dev": {
2929
"mockery/mockery": "^1.3.2",
30-
"orchestra/testbench": "^8.0|^9.0",
31-
"phpunit/phpunit": "^8.4|^9.0|^10.5"
30+
"orchestra/testbench": "^8.0|^9.0|^10.0",
31+
"phpunit/phpunit": "^8.4|^9.0|^10.5|^11.5.3"
3232
},
3333
"autoload": {
3434
"psr-4": {

0 commit comments

Comments
 (0)