Skip to content

Commit b1f72c2

Browse files
Merge pull request #8 from worksome/l10
chore(deps): Laravel 10 support
2 parents df9c284 + e8cbc65 commit b1f72c2

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/run-tests.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest]
1818
php: [8.2]
19-
laravel: [9.*]
19+
laravel: [9.*, 10.*]
2020
stability: [prefer-lowest, prefer-stable]
21+
include:
22+
- laravel: 9.*
23+
testbench: 7.*
24+
- laravel: 10.*
25+
testbench: 8.*
2126

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

@@ -39,7 +44,8 @@ jobs:
3944
4045
- name: Install dependencies
4146
run: |
42-
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
4349
4450
- name: Execute tests
4551
run: composer test:unit

composer.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,17 @@
1818
"require": {
1919
"php": "^8.2",
2020
"google/cloud-translate": "^1.12",
21-
"illuminate/support": "^9.46",
22-
"spatie/laravel-package-tools": "^1.11.3"
21+
"illuminate/support": "^9.46|^10.0",
22+
"spatie/laravel-package-tools": "^1.14.1"
2323
},
2424
"require-dev": {
2525
"guzzlehttp/guzzle": "^7.4",
2626
"nunomaduro/collision": "^6.0",
27-
"nunomaduro/larastan": "^2.2",
28-
"orchestra/testbench": "^7.0",
27+
"nunomaduro/larastan": "^2.4",
28+
"orchestra/testbench": "^7.0|^8.0",
2929
"pestphp/pest": "^1.21",
30-
"pestphp/pest-plugin-laravel": "^1.2",
30+
"pestphp/pest-plugin-laravel": "^1.4",
3131
"pestphp/pest-plugin-parallel": "^1.0",
32-
"spatie/laravel-ray": "^1.29",
3332
"worksome/coding-style": "^2.3.2",
3433
"worksome/pest-plugin-silence": "^0.1"
3534
},

0 commit comments

Comments
 (0)