Skip to content

Commit b98c5e3

Browse files
Laravel 11.x Compatibility (#89)
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11
1 parent b3c1da0 commit b98c5e3

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.github/workflows/run-tests.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,31 @@ 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]
16-
php: [8.1]
17-
laravel: [10.*]
19+
php: [8.1, '8.2']
20+
laravel: ['10.*', '11.*']
1821
stability: [prefer-lowest, prefer-stable]
1922
include:
2023
- laravel: 10.*
2124
testbench: 8.*
25+
- laravel: 11.*
26+
testbench: 9.*
27+
exclude:
28+
- laravel: 11.*
29+
php: 8.1
2230

2331
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2432

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
"require": {
1919
"php": "^8.0 | ^8.1",
2020
"filament/filament": "^3.0",
21-
"illuminate/contracts": "^8.0 | ^9.0 | ^10.0",
21+
"illuminate/contracts": "^8.0 | ^9.0 | ^10.0 | ^11.0",
2222
"spatie/laravel-activitylog": "^4.5",
2323
"spatie/laravel-package-tools": "^1.13.5"
2424
},
2525
"require-dev": {
26-
"nunomaduro/collision": "^6.0",
26+
"nunomaduro/collision": "^6.0 | ^8.0",
2727
"nunomaduro/larastan": "^2.0.1",
28-
"orchestra/testbench": "^7.0",
29-
"pestphp/pest": "^1.21",
30-
"pestphp/pest-plugin-laravel": "^1.1",
28+
"orchestra/testbench": "^7.0 | ^9.0",
29+
"pestphp/pest": "^1.21 | ^2.34",
30+
"pestphp/pest-plugin-laravel": "^1.1 | ^2.3",
3131
"phpstan/extension-installer": "^1.1",
3232
"phpstan/phpstan-deprecation-rules": "^1.0",
3333
"phpstan/phpstan-phpunit": "^1.0",
34-
"phpunit/phpunit": "^9.5",
34+
"phpunit/phpunit": "^9.5 | ^10.5",
3535
"spatie/laravel-ray": "^1.26"
3636
},
3737
"autoload": {

0 commit comments

Comments
 (0)