Skip to content

Commit 55067b7

Browse files
Laravel 12.x Compatibility (#185)
* Bump dependencies for Laravel 12 * Update GitHub Actions for Laravel 12 * Update run-tests.yml --------- Co-authored-by: Freek Van der Herten <[email protected]>
1 parent d7fdaf1 commit 55067b7

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

Diff for: .github/workflows/run-tests.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
os: [ubuntu-latest]
1515
php: [8.3, 8.2, 8.1, 8.0]
16-
laravel: ['8.*', '9.*', '10.*', '11.*']
16+
laravel: ['8.*', '9.*', '10.*', '11.*', '12.*']
1717
dependency-version: [prefer-stable]
1818
include:
1919
- laravel: 11.*
@@ -24,13 +24,19 @@ jobs:
2424
testbench: 7.*
2525
- laravel: 8.*
2626
testbench: ^6.27
27+
- laravel: 12.*
28+
testbench: 10.*
2729
exclude:
2830
- laravel: 10.*
2931
php: 8.0
3032
- laravel: 11.*
3133
php: 8.1
3234
- laravel: 11.*
3335
php: 8.0
36+
- laravel: 12.*
37+
php: 8.1
38+
- laravel: 12.*
39+
php: 8.0
3440

3541
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
3642

@@ -47,7 +53,7 @@ jobs:
4753

4854
- name: Install dependencies
4955
run: |
50-
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
56+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5157
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
5258
5359
- name: Execute tests

Diff for: composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"prefer-stable": true,
2020
"require": {
2121
"php": "^8.0",
22-
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
22+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0",
2323
"spatie/laravel-webhook-client": "^3.0",
2424
"stripe/stripe-php": "^7.51|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0|^14.0|^15.0|^16.0"
2525
},
2626
"require-dev": {
27-
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
28-
"phpunit/phpunit": "^9.4|^10.5"
27+
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
28+
"phpunit/phpunit": "^9.4|^10.5|^11.5.3"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)