Skip to content

Commit f3cdae4

Browse files
authored
Merge pull request #20 from spatie/support-laravel-13
Support Laravel 13
2 parents 655e83e + f42f739 commit f3cdae4

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ jobs:
1818
matrix:
1919
os: [ubuntu-latest, windows-latest]
2020
php: [8.4, 8.3, 8.2]
21-
laravel: [12.*, 11.*]
21+
laravel: [13.*, 12.*, 11.*]
2222
stability: [prefer-lowest, prefer-stable]
23+
exclude:
24+
- php: 8.2
25+
laravel: 13.*
2326

2427
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2528

@@ -39,6 +42,10 @@ jobs:
3942
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
4043
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
4144
45+
- name: Require Pest 4 for Laravel 13
46+
if: matrix.laravel == '13.*'
47+
run: composer require "pestphp/pest:^4.0" "pestphp/pest-plugin-laravel:^4.0" "pestphp/pest-plugin-arch:^4.0" --dev --no-interaction --no-update
48+
4249
- name: Install dependencies
4350
run: |
4451
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
],
2121
"require": {
2222
"php": "^8.2",
23-
"illuminate/contracts": "^11.10|^12.0",
23+
"illuminate/contracts": "^11.10|^12.0|^13.0",
2424
"spatie/laravel-package-tools": "^1.16"
2525
},
2626
"require-dev": {
2727
"larastan/larastan": "^2.9|^3.0",
2828
"laravel/pint": "^1.14",
2929
"nunomaduro/collision": "^8.1.1|^7.10.0",
30-
"orchestra/testbench": "^10.0|^9.0|^8.22",
30+
"orchestra/testbench": "^11.0|^10.0|^9.0|^8.22",
3131
"pestphp/pest": "^2.34|^3.0",
3232
"pestphp/pest-plugin-arch": "^2.7|^3.0",
3333
"pestphp/pest-plugin-laravel": "^2.3|^3.0",

0 commit comments

Comments
 (0)