Skip to content

Commit

Permalink
Laravel 10 compatibility (#17)
Browse files Browse the repository at this point in the history
* allow illuminate/contracts ^10.0
* github actions laravel 10
* exclude laravel 10 and php 8.0
* add orchestra testbench ^8.0
  • Loading branch information
Quadrubo authored Feb 15, 2023
1 parent 751c759 commit 33ccbe6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-latest, windows-latest ]
php: [ 8.0 ]
laravel: [ 9.* ]
php: [ 8.0, 8.1 ]
laravel: [ 10.*, 9.* ]
stability: [ prefer-lowest, prefer-stable ]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: ^7.0
testbench: 7.*
exclude:
- laravel: 10.*
php: 8.0

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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"require": {
"php": "^8.0.2",
"filament/filament": "^2.16",
"illuminate/contracts": "^9.0",
"illuminate/contracts": "^9.0|^10.0",
"spatie/laravel-package-tools": "^1.13.0"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpstan/extension-installer": "^1.1",
Expand Down

0 comments on commit 33ccbe6

Please sign in to comment.