Skip to content

Commit

Permalink
Laravel 9 support (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Jan 12, 2022
1 parent 4a8c510 commit 4526cea
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,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 @@ -38,7 +43,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
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"ext-json": "*",
"ext-pcntl": "*",
"ext-posix": "*",
"illuminate/contracts": "^8.17",
"illuminate/queue": "^8.17",
"illuminate/support": "^8.17",
"illuminate/contracts": "^8.17|^9.0",
"illuminate/queue": "^8.17|^9.0",
"illuminate/support": "^8.17|^9.0",
"nesbot/carbon": "^2.17",
"ramsey/uuid": "^4.0",
"symfony/process": "^5.0",
"symfony/error-handler": "^5.0"
"symfony/process": "^5.0|^6.0",
"symfony/error-handler": "^5.0|^6.0"
},
"require-dev": {
"mockery/mockery": "^1.0",
"orchestra/testbench": "^6.0",
"orchestra/testbench": "^6.0|^7.0",
"phpunit/phpunit": "^9.0",
"predis/predis": "^1.1"
},
Expand Down

0 comments on commit 4526cea

Please sign in to comment.