Skip to content

Commit

Permalink
Laravel 10 (#19)
Browse files Browse the repository at this point in the history
* support laravel 10

* fix main.yml

* update main.yml
  • Loading branch information
aozisik authored Feb 25, 2023
1 parent 9a4c423 commit 6ecb6aa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
# Disable testing on windows for now...
# os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
php: [7.4, 8.0, 8.1]
laravel: [7.*, 8.*, 9.*]
php: [7.4, 8.0, 8.1, 8.2]
laravel: [7.*, 8.*, 9.*, 10.*]
#stability: [prefer-lowest, prefer-stable]
stability: [prefer-stable]
include:
Expand All @@ -28,17 +28,24 @@ jobs:
testbench: ^6.6
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
# Laravel 7 has no support for PHP 8.1
exclude:
- laravel: 7.*
php: 8.1
# Older versions of L7 doesn't support PHP 8
exclude:
- laravel: 7.*
php: 8
stability: prefer-lowest
- laravel: 7.*
php: 8.1
- laravel: 7.*
php: 8.2
# Laravel 9 doesn't support < PHP 8
- laravel: 9.*
php: 7.4
- laravel: 10.*
php: 7.4
- laravel: 10.*
php: 8.0

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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"require": {
"php": "^7.4|^8.0",
"guzzlehttp/guzzle": "^6.3|^7.0",
"illuminate/console": "^7.0|^8.0|^9.0",
"illuminate/support": "^7.0|^8.0|^9.0"
"illuminate/console": "^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.1",
"johnkary/phpunit-speedtrap": "^4.0",
"orchestra/testbench": "5.*|6.*|7.*",
"orchestra/testbench": "5.*|6.*|7.*|8.*",
"phpunit/phpunit": "^8.4|^9.0"
},
"autoload": {
Expand Down

0 comments on commit 6ecb6aa

Please sign in to comment.