Skip to content

Commit

Permalink
Merge pull request #50 from askdkc/add-laravel-10
Browse files Browse the repository at this point in the history
Add Laravel 10 Support
  • Loading branch information
askdkc committed Jan 11, 2023
2 parents 8bf1a92 + 35066df commit 7a95153
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1, 8.0]
laravel: [9.*]
php: [8.0, 8.1, 8.2]
laravel: [10.*, 9.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
- laravel: 10.*
testbench: 8.*
exclude:
- laravel: 10.*
php: 8.0

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

Expand All @@ -41,7 +45,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:${{ matrix.carbon }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:^2.64.1" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
Expand Down
18 changes: 7 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,17 @@
}
],
"require": {
"php": "^8.0.2",
"spatie/laravel-package-tools": "^1.13.0",
"illuminate/contracts": "^9.0"
"php": "^8.0",
"spatie/laravel-package-tools": "^1.14.0",
"illuminate/contracts": "^9.28|^10.0"
},
"require-dev": {
"laravel/pint": "^1.0",
"laravel/pint": "^1.4",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5"
"orchestra/testbench": "^7.7|^8.0",
"pestphp/pest": "^1.22|^2.0.0",
"phpunit/phpunit": "^9.5.27"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 7a95153

Please sign in to comment.