Skip to content

Commit 0f37bc6

Browse files
authored
Merge pull request #52 from laravel-shift/l12-compatibility
Laravel 12.x Compatibility
2 parents a7b68f1 + 48e3d36 commit 0f37bc6

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.github/workflows/run-tests.yml

Lines changed: 10 additions & 2 deletions
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]
16-
laravel: ['8.*', '9.*', '10.*', '11.*']
16+
laravel: ['8.*', '9.*', '10.*', '11.*', '12.*']
1717
dependency-version: [prefer-lowest, prefer-stable]
1818
include:
1919
- laravel: 10.*
@@ -24,6 +24,8 @@ jobs:
2424
testbench: ^6.23
2525
- laravel: 11.*
2626
testbench: ^9.0
27+
- laravel: 12.*
28+
testbench: ^10.0
2729
exclude:
2830
- laravel: 10.*
2931
php: 8.0
@@ -37,6 +39,12 @@ jobs:
3739
php: 8.0
3840
- laravel: 11.*
3941
php: 7.4
42+
- laravel: 12.*
43+
php: 8.1
44+
- laravel: 12.*
45+
php: 8.0
46+
- laravel: 12.*
47+
php: 7.4
4048

4149
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
4250

@@ -59,7 +67,7 @@ jobs:
5967

6068
- name: Install dependencies
6169
run: |
62-
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
70+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
6371
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
6472
6573
- name: Execute tests

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
],
1818
"require": {
1919
"php": "^7.4|^8.0",
20-
"illuminate/contracts": "^8.73|^9.0|^10.0|^11.0",
21-
"illuminate/http": "^8.73|^9.0|^10.0|^11.0",
22-
"illuminate/support": "^8.73|^9.0|^10.0|^11.0"
20+
"illuminate/contracts": "^8.73|^9.0|^10.0|^11.0|^12.0",
21+
"illuminate/http": "^8.73|^9.0|^10.0|^11.0|^12.0",
22+
"illuminate/support": "^8.73|^9.0|^10.0|^11.0|^12.0"
2323
},
2424
"require-dev": {
25-
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0",
26-
"phpunit/phpunit": "^9.5|^10.5"
25+
"orchestra/testbench": "^6.23|^7.0|^8.0|^9.0|^10.0",
26+
"phpunit/phpunit": "^9.5|^10.5|^11.5.3"
2727
},
2828
"autoload": {
2929
"psr-4": {

0 commit comments

Comments
 (0)