Skip to content

Commit

Permalink
🔧 support all the laravels
Browse files Browse the repository at this point in the history
  • Loading branch information
willpower232 committed Jul 20, 2023
1 parent 9a8f1e7 commit 450aeda
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.0]
laravel: [^8.43]
php: ["8.0",8.1,8.2]
laravel: [^8.43,^9,^10]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: ^8.43
testbench: ^6.19
exclude:
- php: "8.0"
laravel: ^10

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand All @@ -40,7 +40,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-progress --no-update
composer require "laravel/framework:${{ matrix.laravel }}" --no-progress --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --no-suggest
- name: Run Tests
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
}
],
"require": {
"php": ">=8.0",
"illuminate/database": "^8.43",
"illuminate/support": "^8.43",
"illuminate/collections": "^8.43",
"illuminate/config": "^8.43",
"illuminate/cache": "^8.43",
"php": "^8.0",
"illuminate/database": "^8.43|^9.0|^10.0",
"illuminate/support": "^8.43|^9.0|^10.0",
"illuminate/collections": "^8.43|^9.0|^10.0",
"illuminate/config": "^8.43|^9.0|^10.0",
"illuminate/cache": "^8.43|^9.0|^10.0",
"symfony/console": "^5.3"
},
"require-dev": {
"mockery/mockery": "^1.4.3",
"orchestra/testbench": "^6.19",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"phpunit/phpunit": "^9.5.4"
},
"autoload-dev": {
Expand Down

0 comments on commit 450aeda

Please sign in to comment.