Skip to content

Commit 44f2608

Browse files
Laravel 11.x Compatibility (#521)
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11
1 parent 03c9d36 commit 44f2608

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.github/workflows/run-tests.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
name: run-tests
22

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

57
concurrency: ci-${{ github.ref }}
68

79
jobs:
810
test:
911
runs-on: ${{ matrix.os }}
12+
1013
strategy:
1114
fail-fast: true
1215
matrix:
1316
os: [ubuntu-20.04]
1417
php: [8.3, 8.2, 8.1]
15-
laravel: [10.*]
18+
laravel: ['10.*', '11.*']
1619
ffmpeg: [5.0, 4.4]
1720
dependency-version: [prefer-lowest, prefer-stable]
1821
include:
1922
- laravel: 10.*
2023
testbench: 8.*
24+
- laravel: 11.*
25+
testbench: 9.*
26+
exclude:
27+
- laravel: 11.*
28+
php: 8.1
2129

2230
name: ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - FF${{ matrix.ffmpeg }} - ${{ matrix.dependency-version }}
2331

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
],
2222
"require": {
2323
"php": "^8.1|^8.2|^8.3",
24-
"illuminate/contracts": "^10.0",
24+
"illuminate/contracts": "^10.0|^11.0",
2525
"php-ffmpeg/php-ffmpeg": "^1.2",
2626
"ramsey/collection": "^2.0"
2727
},
2828
"require-dev": {
2929
"league/flysystem-memory": "^3.10",
3030
"mockery/mockery": "^1.4.4",
31-
"nesbot/carbon": "^2.66",
32-
"orchestra/testbench": "^8.0",
31+
"nesbot/carbon": "^2.66|^3.0",
32+
"orchestra/testbench": "^8.0|^9.0",
3333
"phpunit/phpunit": "^10.4",
34-
"spatie/image": "^2.2",
34+
"spatie/image": "^2.2|^3.3",
3535
"spatie/phpunit-snapshot-assertions": "^5.0"
3636
},
3737
"autoload": {
@@ -63,4 +63,4 @@
6363
}
6464
}
6565
}
66-
}
66+
}

0 commit comments

Comments
 (0)