Skip to content

Commit bfa5d15

Browse files
Laravel 11.x Compatibility (#24)
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11
1 parent 3730a2e commit bfa5d15

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/run-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +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: ubuntu-latest
10+
811
strategy:
912
fail-fast: true
1013
matrix:
1114
php: [8.3, 8.2, 8.1]
12-
laravel: [10.*]
15+
laravel: ['10.*', '11.*']
1316
dependency-version: [prefer-lowest, prefer-stable]
1417
include:
1518
- laravel: 10.*
1619
testbench: 8.*
20+
- laravel: 11.*
21+
testbench: 9.*
22+
exclude:
23+
- laravel: 11.*
24+
php: 8.1
1725

1826
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
1927

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
],
1818
"require": {
1919
"php": "^8.1|^8.2|^8.3",
20-
"illuminate/support": "^10.0"
20+
"illuminate/support": "^10.0|^11.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^8.0",
23+
"orchestra/testbench": "^8.0|^9.0",
2424
"phpunit/phpunit": "^10.4"
2525
},
2626
"autoload": {
@@ -49,4 +49,4 @@
4949
]
5050
}
5151
}
52-
}
52+
}

0 commit comments

Comments
 (0)