Skip to content

Commit 06aa9d2

Browse files
committed
chore: add laravel 12 support
1 parent 3bd2900 commit 06aa9d2

File tree

5 files changed

+22
-23
lines changed

5 files changed

+22
-23
lines changed

.github/workflows/phpstan.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,24 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [8.1, 8.2]
12-
laravel: [9.*, 10.*, 11.*]
13-
dependency-version: [prefer-lowest, prefer-stable]
11+
php: [8.2, 8.3]
12+
laravel: [10.*, 11.*, 12.*]
13+
dependency-version: [prefer-stable]
1414
include:
15+
- laravel: 12.*
16+
testbench: 10.*
1517
- laravel: 11.*
1618
testbench: 9.*
1719
- laravel: 10.*
1820
testbench: 8.*
19-
- laravel: 9.*
20-
testbench: 7.*
21-
exclude:
22-
- laravel: 11.*
23-
php: 8.1
2421
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2522

2623
steps:
2724
- name: Checkout code
2825
uses: actions/checkout@v4
2926

3027
- name: Cache dependencies
31-
uses: actions/cache@v2
28+
uses: actions/cache@v4
3229
with:
3330
path: ~/.composer/cache/files
3431
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

.github/workflows/pint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88

99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212

1313
- name: Setup PHP
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: 8.2
16+
php-version: 8.3
1717
extensions: json, dom, curl, libxml, mbstring
1818
coverage: none
1919

.github/workflows/tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [8.3, 8.2, 8.1]
12-
laravel: [11.*, 10.*]
11+
php: [8.3, 8.2]
12+
laravel: [12.*, 11.*, 10.*]
1313
dependency-version: [prefer-stable]
1414
include:
15+
- laravel: 12.*
16+
testbench: 10.*
1517
- laravel: 11.*
1618
testbench: 9.*
1719
- laravel: 10.*
1820
testbench: 8.*
19-
exclude:
20-
- laravel: 11.*
21-
php: 8.1
2221
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2322

2423
steps:

.github/workflows/update-changelog.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ jobs:
88
update:
99
runs-on: ubuntu-latest
1010

11+
permissions:
12+
contents: write
13+
1114
steps:
1215
- name: Checkout code
1316
uses: actions/checkout@v4

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
}
3232
],
3333
"require": {
34-
"php": "^8.1",
35-
"illuminate/console": "^10.0|^11.0",
36-
"illuminate/container": "^10.0|^11.0",
37-
"illuminate/database": "^10.0|^11.0",
38-
"illuminate/support": "^10.0|^11.0",
34+
"php": "^8.2",
35+
"illuminate/console": "^10.0|^11.0|^12.0",
36+
"illuminate/container": "^10.0|^11.0|^12.0",
37+
"illuminate/database": "^10.0|^11.0|^12.0",
38+
"illuminate/support": "^10.0|^11.0|^12.0",
3939
"spatie/eloquent-sortable": "^4.0.0",
4040
"spatie/laravel-package-tools": "^1.16",
4141
"spatie/laravel-sluggable": "^3.4.2",
@@ -44,8 +44,8 @@
4444
"require-dev": {
4545
"larastan/larastan": "^2.0",
4646
"laravel/pint": "^1.13",
47-
"orchestra/testbench": "^8.0|^9.0",
48-
"pestphp/pest": "^2.18",
47+
"orchestra/testbench": "^8.0|^9.0|^10.0",
48+
"pestphp/pest": "^2.18|^3.7",
4949
"spatie/test-time": "^1.3"
5050
},
5151
"autoload": {

0 commit comments

Comments
 (0)