Skip to content

Commit 10db95c

Browse files
Laravel 12.x Compatibility (#304)
* 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 91f1095 commit 10db95c

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/run-tests.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
os: [ubuntu-latest]
1515
php: [8.2, 8.1, 8.0, 7.4, 7.3, 7.2]
16-
laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*']
16+
laravel: ['6.*', '7.*', '8.*', '9.*', '10.*', '11.*', '12.*']
1717
dependency-version: [prefer-stable]
1818
include:
1919
- laravel: 10.*
@@ -28,6 +28,8 @@ jobs:
2828
testbench: 4.*
2929
- laravel: 11.*
3030
testbench: 9.*
31+
- laravel: 12.*
32+
testbench: 10.*
3133
exclude:
3234
- laravel: 10.*
3335
php: 8.0
@@ -63,6 +65,16 @@ jobs:
6365
php: 7.3
6466
- laravel: 11.*
6567
php: 7.2
68+
- laravel: 12.*
69+
php: 8.1
70+
- laravel: 12.*
71+
php: 8.0
72+
- laravel: 12.*
73+
php: 7.4
74+
- laravel: 12.*
75+
php: 7.3
76+
- laravel: 12.*
77+
php: 7.2
6678

6779
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
6880

@@ -79,7 +91,7 @@ jobs:
7991

8092
- name: Install dependencies
8193
run: |
82-
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
94+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
8395
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
8496
8597
- name: Execute tests

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
"require": {
2323
"php": "^7.2|^8.0",
2424
"google/apiclient": "^2.2",
25-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
25+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
2626
"nesbot/carbon": "^2.63|^3.0"
2727
},
2828
"require-dev": {
2929
"mockery/mockery": "^1.3.3|^1.4",
30-
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0",
31-
"phpunit/phpunit": "^8.4|^9.0|^10.5"
30+
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
31+
"phpunit/phpunit": "^8.4|^9.0|^10.5|^11.5.3"
3232
},
3333
"autoload": {
3434
"psr-4": {

0 commit comments

Comments
 (0)