Skip to content

Commit 7b9e82c

Browse files
Laravel 11.x Compatibility (#30)
1 parent 78fd3fb commit 7b9e82c

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

.github/workflows/run-tests.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +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: ubuntu-latest
14+
1215
strategy:
1316
fail-fast: false
1417
matrix:
15-
php: [8.0, 8.1]
16-
laravel: [8.*, 9.*, 10.*]
18+
php: [8.0, 8.1, '8.2']
19+
laravel: ['8.*', '9.*', '10.*', '11.*']
1720
stability: [prefer-lowest, prefer-stable]
1821
include:
1922
- laravel: 8.*
2023
- laravel: 9.*
24+
- laravel: 11.*
25+
exclude:
26+
- laravel: 11.*
27+
php: 8.0
28+
- laravel: 11.*
29+
php: 8.1
2130

2231
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2332

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
],
2121
"require": {
2222
"php": "^8.0",
23-
"laravel/framework": "^8.70|^9.0|^10.0",
24-
"phpunit/phpunit": "^9.5|^10.0",
23+
"laravel/framework": "^8.70|^9.0|^10.0|^11.0",
24+
"phpunit/phpunit": "^9.5|^10.0|^11.9",
2525
"sixlive/json-schema-assertions": "^2.0"
2626
},
2727
"require-dev": {
2828
"friendsofphp/php-cs-fixer": "^3.2",
29-
"orchestra/testbench": "^6.20|^8.0"
29+
"orchestra/testbench": "^6.20|^8.0|^9.0"
3030
},
3131
"autoload": {
3232
"psr-4": {

0 commit comments

Comments
 (0)