Skip to content

Commit 91b2014

Browse files
Merge pull request #14 from worksome/l10
chore(deps): Laravel 10 support
2 parents e25c714 + ad5ae99 commit 91b2014

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest]
1818
php: [8.2]
19-
laravel: ['^9.22']
19+
laravel: ['^9.22', '10.*']
2020
stability: [prefer-lowest, prefer-stable]
21+
include:
22+
- laravel: "^9.22"
23+
testbench: 7.*
24+
- laravel: 10.*
25+
testbench: 8.*
2126

2227
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2328

@@ -39,8 +44,8 @@ jobs:
3944
4045
- name: Install dependencies
4146
run: |
42-
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update --ansi
43-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --ansi
47+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
48+
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4449
4550
- name: Execute tests
4651
run: composer test:unit

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,17 @@
1818
"require": {
1919
"php": "^8.2",
2020
"guzzlehttp/guzzle": "^7.5",
21-
"laravel/framework": "^9.46",
21+
"laravel/framework": "^9.46|^10.0",
2222
"pragmarx/google2fa": "^8.0",
23-
"spatie/laravel-package-tools": "^1.13.8"
23+
"spatie/laravel-package-tools": "^1.14.1"
2424
},
2525
"require-dev": {
2626
"nunomaduro/collision": "^6.3",
27-
"nunomaduro/larastan": "^2.3.2",
28-
"orchestra/testbench": "^7.18",
27+
"nunomaduro/larastan": "^2.4.0",
28+
"orchestra/testbench": "^7.18|^8.0",
2929
"pestphp/pest": "^1.22.3",
3030
"pestphp/pest-plugin-parallel": "^1.2",
31-
"pestphp/pest-plugin-laravel": "^1.1",
32-
"spatie/laravel-ray": "^1.30",
31+
"pestphp/pest-plugin-laravel": "^1.4",
3332
"worksome/pest-plugin-silence": "^0.1.2",
3433
"worksome/coding-style": "^2.3"
3534
},

0 commit comments

Comments
 (0)