Skip to content

Commit c995db2

Browse files
Merge pull request #1 from esign/feature/laravel-12
Support Laravel 12
2 parents 74fe3ec + 8060bdc commit c995db2

File tree

2 files changed

+11
-25
lines changed

2 files changed

+11
-25
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +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.*, 7.*]
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.*
26-
- laravel: 8.*
27-
testbench: 6.23
28-
- laravel: 7.*
29-
testbench: 5.*
3026
exclude:
31-
- laravel: 11.*
32-
php: 8.0
33-
- laravel: 11.*
27+
- laravel: 12.*
3428
php: 8.1
35-
- laravel: 10.*
36-
php: 8.0
37-
- laravel: 7.*
29+
- laravel: 11.*
3830
php: 8.1
39-
- laravel: 7.*
40-
php: 8.2
41-
- laravel: 7.*
42-
php: 8.3
43-
- laravel: 7.*
44-
php: 8.4
4531

4632
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
4733

@@ -62,7 +48,7 @@ jobs:
6248
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
6349
- name: Install dependencies
6450
run: |
65-
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
6652
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
6753
- name: Execute tests
6854
run: vendor/bin/phpunit

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^8.0",
22-
"illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0"
21+
"php": "^8.1",
22+
"illuminate/support": "^10.0|^11.0|^12.0"
2323
},
2424
"require-dev": {
2525
"friendsofphp/php-cs-fixer": "^3.2",
26-
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
27-
"phpunit/phpunit": "^9.4|^10.0"
26+
"orchestra/testbench": "^8.0|^9.0|^10.0",
27+
"phpunit/phpunit": "^9.4|^10.0|^11.0"
2828
},
2929
"autoload": {
3030
"psr-4": {

0 commit comments

Comments
 (0)