Skip to content

Commit 954f3aa

Browse files
authored
Add Laravel 10 support (#8)
1 parent 067bde5 commit 954f3aa

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
php: [8.1]
17-
laravel: ['^9.2']
15+
os: [ubuntu-latest]
16+
php: [8.2, 8.1]
17+
laravel: ['^10.0', '^9.2']
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: '^9.2'
2121
testbench: 7.*
22+
- laravel: '^10.0'
23+
testbench: 8.*
2224

2325
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2426

@@ -40,7 +42,7 @@ jobs:
4042
4143
- name: Install dependencies
4244
run: |
43-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
45+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.62.1" --no-interaction --no-update
4446
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4547
4648
- name: Execute tests

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
],
1818
"require": {
1919
"php": "^8.1",
20-
"illuminate/console": "^9.2"
20+
"illuminate/console": "^9.2|^10.0"
2121
},
2222
"require-dev": {
2323
"laravel/pint": "^1.0",
2424
"nunomaduro/collision": "^6.0",
2525
"nunomaduro/larastan": "^2.0.1",
26-
"orchestra/testbench": "^7.0",
26+
"orchestra/testbench": "^7.0|^8.0",
2727
"pestphp/pest": "^1.21",
2828
"pestphp/pest-plugin-laravel": "^1.1",
2929
"phpstan/extension-installer": "^1.1",

0 commit comments

Comments
 (0)