Skip to content

Commit 554c504

Browse files
Laravel 12.x Compatibility (#2590)
* Bump dependencies for Laravel 12 * Update GitHub Actions for Laravel 12
1 parent f6d12a5 commit 554c504

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
test:
79
runs-on: ${{ matrix.os }}
10+
811
strategy:
912
fail-fast: true
1013
matrix:
1114
os: [ubuntu-latest, windows-latest]
1215
php: [8.3, 8.2]
13-
laravel: [10.*, 11.*]
16+
laravel: ['10.*', '11.*', '12.*']
1417
stability: [prefer-stable]
1518
include:
1619
- laravel: 10.*
1720
testbench: 8.*
1821
- laravel: 11.*
1922
testbench: 9.*
23+
- laravel: 12.*
24+
testbench: 10.*
2025

2126
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2227

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
],
1919
"require": {
2020
"php": "^8.2",
21-
"illuminate/support": "^10.0|^11.0",
22-
"opis/closure": "^3.6"
21+
"illuminate/support": "^10.0|^11.0|^12.0",
22+
"opis/closure": "^3.6|^4.3"
2323
},
2424
"require-dev": {
2525
"brianium/paratest": "^7.0.6",
2626
"nunomaduro/collision": "^7.0|^8.0",
2727
"nunomaduro/larastan": "^2.0",
28-
"orchestra/testbench": "^8.0|^9.0",
28+
"orchestra/testbench": "^8.0|^9.0|^10.0",
2929
"phpstan/extension-installer": "^1.1",
3030
"phpunit/phpunit": "^10.0|^11.0",
3131
"spatie/laravel-ray": "^1.9",

0 commit comments

Comments
 (0)