Skip to content

Commit

Permalink
Laravel 9
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Jan 12, 2022
1 parent 0ff8f08 commit 845a55d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0, 8.1]
laravel: [^8.0]
php: [7.3, 7.4, '8.0', 8.1]
laravel: [8, 9]
exclude:
- php: 7.3
laravel: 9
- php: 7.4
laravel: 9

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

Expand All @@ -32,7 +37,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
],
"require": {
"php": "^7.3|^8.0",
"illuminate/bus": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/database": "^8.0",
"illuminate/http": "^8.0",
"illuminate/pagination": "^8.0",
"illuminate/queue": "^8.0",
"illuminate/support": "^8.0"
"illuminate/bus": "^8.0|^9.0",
"illuminate/contracts": "^8.0|^9.0",
"illuminate/database": "^8.0|^9.0",
"illuminate/http": "^8.0|^9.0",
"illuminate/pagination": "^8.0|^9.0",
"illuminate/queue": "^8.|^9.0",
"illuminate/support": "^8.0|^9.0"
},
"require-dev": {
"meilisearch/meilisearch-php": "^0.19",
"mockery/mockery": "^1.0",
"orchestra/testbench": "^6.17",
"orchestra/testbench": "^6.17|^7.0",
"phpunit/phpunit": "^9.3"
},
"autoload": {
Expand Down

0 comments on commit 845a55d

Please sign in to comment.