Skip to content

Commit 6a6a42a

Browse files
Merge pull request #1 from esign/feature/laravel-12
Support Laravel 12
2 parents 887c1ff + 7fa7e6c commit 6a6a42a

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,21 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.4, 8.3, 8.2, 8.1, 8.0]
17-
laravel: [11.*, 10.*, 9.*, 8.*]
16+
php: [8.4, 8.3, 8.2, 8.1]
17+
laravel: [12.*, 11.*, 10.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20+
- laravel: 12.*
21+
testbench: 10.*
2022
- laravel: 11.*
2123
testbench: 9.*
2224
- laravel: 10.*
2325
testbench: 8.*
24-
- laravel: 9.*
25-
testbench: ^7.0
26-
- laravel: 8.*
27-
testbench: ^6.23
2826
exclude:
29-
- laravel: 11.*
30-
php: 8.0
27+
- laravel: 12.*
28+
php: 8.1
3129
- laravel: 11.*
3230
php: 8.1
33-
- laravel: 10.*
34-
php: 8.0
3531

3632
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3733

@@ -52,7 +48,7 @@ jobs:
5248
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
5349
- name: Install dependencies
5450
run: |
55-
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
51+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5652
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5753
- name: Execute tests
5854
run: vendor/bin/phpunit

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.0",
19+
"php": "^8.1",
2020
"guzzlehttp/guzzle": "^7.0",
21-
"illuminate/http": "^8.0|^9.0|^10.0|^11.0",
22-
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
21+
"illuminate/http": "^10.0|^11.0|^12.0",
22+
"illuminate/support": "^10.0|^11.0|^12.0"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^3.5",
26-
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
27-
"phpunit/phpunit": "^9.0|^10.0"
26+
"orchestra/testbench": "^8.0|^9.0|^10.0",
27+
"phpunit/phpunit": "^10.1|^11.0|^12.0"
2828
},
2929
"autoload": {
3030
"psr-4": {

0 commit comments

Comments
 (0)