Skip to content

Commit

Permalink
Laravel 10.x Compatibility (#187)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 10

* Update GitHub Actions for Laravel 10

* wip

* Update run-tests.yml

Co-authored-by: Freek Van der Herten <freek@spatie.be>
  • Loading branch information
laravel-shift and freekmurze authored Jan 25, 2023
1 parent cb5f63c commit 5a5b2f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ jobs:
strategy:
matrix:
php: [8.2, 8.1, 8.0]
laravel: [9.*, 8.*]
laravel: [9.*, 8.*, 10.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
- laravel: 8.*
testbench: ^6.23
carbon: ^2.63
exclude:
- laravel: 10.*
php: 8.0

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

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
],
"require": {
"php": "^8.0",
"illuminate/support": "^8.0|^9.0",
"illuminate/view": "^8.0|^9.0",
"illuminate/cookie": "^8.0|^9.0",
"illuminate/support": "^8.0|^9.0|^10.0",
"illuminate/view": "^8.0|^9.0|^10.0",
"illuminate/cookie": "^8.0|^9.0|^10.0",
"spatie/laravel-package-tools": "^1.9"
},
"require-dev": {
"fakerphp/faker": "^1.9",
"orchestra/testbench": "^6.0|^7.0",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"pestphp/pest": "^1.22"
},
"autoload": {
Expand Down Expand Up @@ -64,4 +64,4 @@
"pestphp/pest-plugin": true
}
}
}
}

0 comments on commit 5a5b2f0

Please sign in to comment.