Skip to content

Commit 3cd2326

Browse files
committed
Add Laravel 10 support 🏷
1 parent 9c7da75 commit 3cd2326

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
1616
php: [8.0, 8.1, 8.2]
17-
laravel: ["9.x"]
17+
laravel: ['10.x', '9.x']
1818
stability: [prefer-lowest, prefer-stable]
19+
exclude:
20+
- laravel: '10.x'
21+
php: 8.0
1922

2023
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2124

2225
steps:
2326
- name: Checkout code
24-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2528

2629
- name: Setup PHP
2730
uses: shivammathur/setup-php@v2
@@ -37,7 +40,7 @@ jobs:
3740
3841
- name: Install dependencies
3942
run: |
40-
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.62.1" --dev --no-interaction --no-update
43+
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64.1" --dev --no-interaction --no-update
4144
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4245
4346
- name: Execute tests

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^8.0",
20-
"illuminate/contracts": "^9.33",
20+
"illuminate/contracts": "^9.33|^10.0",
2121
"michael-rubel/laravel-formatters": "^7.0.4",
2222
"phpmath/bignumber": "^1.2",
2323
"spatie/laravel-package-tools": "^1.12"
@@ -28,7 +28,7 @@
2828
"mockery/mockery": "^1.4.4",
2929
"nunomaduro/collision": "^6.0",
3030
"nunomaduro/larastan": "^2.2",
31-
"orchestra/testbench": "^7.4",
31+
"orchestra/testbench": "^7.4|^8.0",
3232
"pestphp/pest": "^1.16",
3333
"pestphp/pest-plugin-global-assertions": "^1.0",
3434
"pestphp/pest-plugin-laravel": "^1.1",

0 commit comments

Comments
 (0)