Skip to content

Commit 88de999

Browse files
authored
Merge pull request #187 from laravel-shift/l11-compatibility
Laravel 11.x Compatibility
2 parents 5291e6a + 2fbe826 commit 88de999

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
name: test
22

3-
on: [push]
3+
on:
4+
- push
45

56
jobs:
67
test:
78
runs-on: ${{ matrix.os }}
9+
810
strategy:
911
fail-fast: false
1012
matrix:
1113
os: [ubuntu-latest]
1214
php: [8.2]
13-
laravel: [10.*]
15+
laravel: ['10.*', '11.*']
1416
stability: [prefer-lowest, prefer-stable]
1517

1618
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -28,5 +30,6 @@ jobs:
2830
run: |
2931
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
3032
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
33+
3134
- name: Execute tests
32-
run: vendor/bin/phpunit
35+
run: vendor/bin/phpunit

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"require": {
1515
"php": ">= 8.2",
1616
"guzzlehttp/guzzle": "^7.0",
17-
"illuminate/notifications": "^10.0",
18-
"illuminate/support": "^10.0",
17+
"illuminate/notifications": "^10.0|^11.0",
18+
"illuminate/support": "^10.0|^11.0",
1919
"kreait/laravel-firebase": "^5.0"
2020
},
2121
"require-dev": {

0 commit comments

Comments
 (0)