Skip to content

Commit 2419eea

Browse files
authored
Merge pull request #8 from DirectoryTree/laravel-12-support
Laravel 12 support
2 parents d533c15 + fd3ff8e commit 2419eea

File tree

2 files changed

+15
-19
lines changed

2 files changed

+15
-19
lines changed

.github/workflows/run-tests.yml

+11-15
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,20 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ ubuntu-latest ]
16-
php: [ 8.3, 8.2, 8.1 ]
17-
laravel: [ 11.*, 10.*, 9.* ]
1816
redis-client: [ phpredis, predis ]
19-
dependency-version: [ prefer-stable ]
2017
include:
21-
- redis-client: phpredis
22-
php-extensions: redis
23-
- laravel: 11.*
18+
- php: 8.4
19+
laravel: 12.*
20+
testbench: 10.*
21+
- php: 8.3
22+
laravel: 11.*
2423
testbench: 9.*
25-
- laravel: 10.*
24+
- php: 8.2
25+
laravel: 10.*
2626
testbench: 8.*
27-
- laravel: 9.*
27+
- php: 8.1
28+
laravel: 9.*
2829
testbench: 7.*
29-
exclude:
30-
- laravel: 11.*
31-
php: 8.1
32-
- laravel: 9.*
33-
php: 8.3
3430

3531
services:
3632
redis:
@@ -39,7 +35,7 @@ jobs:
3935
- 6379:6379
4036
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
4137

42-
name: ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} (${{ matrix.redis-client }}) - ${{ matrix.dependency-version }}
38+
name: ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} (${{ matrix.redis-client }})
4339

4440
steps:
4541
- name: Checkout code
@@ -60,7 +56,7 @@ jobs:
6056
- name: Install dependencies
6157
run: |
6258
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --dev
63-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
59+
composer update --prefer-stable --prefer-dist --no-interaction
6460
6561
- name: Execute tests
6662
run: vendor/bin/pest

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
"minimum-stability": "stable",
3030
"require": {
3131
"php": ">=8.1",
32-
"illuminate/support": "^9.0|^10.0|^11.0",
33-
"illuminate/contracts": "^9.0|^10.0|^11.0",
34-
"illuminate/collections": "^9.0|^10.0|^11.0"
32+
"illuminate/support": "^9.0|^10.0|^11.0|^12.0",
33+
"illuminate/contracts": "^9.0|^10.0|^11.0|^12.0",
34+
"illuminate/collections": "^9.0|^10.0|^11.0|^12.0"
3535
},
3636
"suggest" : {
3737
"brick/math": "For decimal cast support"
@@ -40,7 +40,7 @@
4040
"predis/predis": "^2.0",
4141
"laravel/pint": "^1.17",
4242
"pestphp/pest": "^1.0|^2.0|^3.0",
43-
"orchestra/testbench": "^7.0|^8.0|^9.0"
43+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0"
4444
},
4545
"config": {
4646
"allow-plugins": {

0 commit comments

Comments
 (0)