Skip to content

Commit 30a1bba

Browse files
laravel-shiftpascalbaljet
authored andcommitted
Laravel 12.x Compatibility (#14)
* Bump dependencies for Laravel 12 * Update GitHub Actions for Laravel 12
1 parent 0dc66a1 commit 30a1bba

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/run-tests.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,19 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
php: [8.4, 8.3, 8.2]
15-
laravel: ["10.*", "11.*"]
15+
laravel: ["10.*", "11.*", "12.*"]
1616
db: [mysql, postgres, sqlite]
1717
dependency-version: [prefer-lowest, prefer-stable]
18+
exclude:
19+
- laravel: 10.*
20+
php: 8.4
1821
include:
1922
- laravel: 10.*
20-
testbench: 8.*
23+
testbench: ^8.32
2124
- laravel: 11.*
22-
testbench: 9.*
25+
testbench: ^9.10
26+
- laravel: 12.*
27+
testbench: ^10.0
2328

2429
name: P${{ matrix.php }} - L${{ matrix.laravel }} - DB ${{ matrix.db }} - ${{ matrix.dependency-version }}
2530

@@ -50,7 +55,7 @@ jobs:
5055
uses: actions/checkout@v2
5156

5257
- name: Cache dependencies
53-
uses: actions/cache@v2
58+
uses: actions/cache@v4
5459
with:
5560
path: ~/.composer/cache/files
5661
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
],
1818
"require": {
1919
"php": "^8.2|^8.3|^8.4",
20-
"illuminate/support": "^10.0|^11.0"
20+
"illuminate/support": "^10.48.28|^11.43|^12.0"
2121
},
2222
"require-dev": {
2323
"mockery/mockery": "^1.4.4",
24-
"orchestra/testbench": "^8.0|^9.0",
25-
"phpunit/phpunit": "^10.4"
24+
"orchestra/testbench": "^8.32|^9.10|^10.0",
25+
"phpunit/phpunit": "^10.4|^11.5.3"
2626
},
2727
"autoload": {
2828
"psr-4": {

0 commit comments

Comments
 (0)