Skip to content

Commit fe76094

Browse files
authored
Merge pull request #100 from laravel-shift/l12-compatibility
2 parents bf10510 + 15b0fcd commit fe76094

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.github/workflows/codecov.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Code coverage
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches:
6+
- main
67

78
jobs:
89
build:
@@ -12,14 +13,16 @@ jobs:
1213
fail-fast: true
1314
matrix:
1415
os: [ubuntu-latest]
15-
php: [8.4]
16-
laravel: ['10.*', '11.*']
16+
php: ['8.2', '8.3', 8.4, '8.4']
17+
laravel: ['10.*', '11.*', '12.*']
1718
stability: [prefer-lowest]
1819
include:
1920
- laravel: 10.*
2021
testbench: 8.*
2122
- laravel: 11.*
2223
testbench: 9.*
24+
- laravel: 12.*
25+
testbench: 10.*
2326

2427
steps:
2528
- uses: actions/checkout@v2

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: Tests
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches:
6+
- main
67
pull_request:
7-
branches: [ main ]
8+
branches:
9+
- main
810

911
jobs:
1012
run-tests:
@@ -14,11 +16,13 @@ jobs:
1416
fail-fast: true
1517
matrix:
1618
php: [8.4, 8.3, 8.2]
17-
laravel: ['11.*']
19+
laravel: ['11.*', '12.*']
1820
stability: [prefer-stable]
1921
include:
2022
- laravel: 11.*
2123
testbench: 9.*
24+
- laravel: 12.*
25+
testbench: 10.*
2226

2327
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}
2428

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"require": {
1515
"php": "^8.2",
1616
"ext-json": "*",
17-
"illuminate/support": "^11.0",
17+
"illuminate/support": "^11.0|^12.0",
1818
"guzzlehttp/guzzle": "~6.0|~7.0",
1919
"nesbot/carbon": "^2.53.1|^3.0"
2020
},
2121
"require-dev": {
22-
"orchestra/testbench": "^9.0",
22+
"orchestra/testbench": "^9.0|^10.0",
2323
"nunomaduro/collision": "^8.0",
2424
"roave/security-advisories": "dev-latest",
2525
"larastan/larastan": "^3.0.2",

0 commit comments

Comments
 (0)