Skip to content

Commit

Permalink
[2.x] Laravel 9 Support (#239)
Browse files Browse the repository at this point in the history
* Update composer.json

* Update tests.yml
  • Loading branch information
driesvints authored Jan 12, 2022
1 parent 274f47b commit 2418517
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,21 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1]
laravel: [^6.0, ^7.0, ^8.0]
php: [7.2, 7.3, 7.4, '8.0', 8.1]
laravel: [6, 7, 8]
exclude:
- php: 7.2
laravel: ^8.0
laravel: 8
- php: 7.2
laravel: 9
- php: 7.3
laravel: 9
- php: 7.4
laravel: 9
- php: 8.1
laravel: ^6.0
laravel: 6
- php: 8.1
laravel: ^7.0
laravel: 7

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

Expand All @@ -39,7 +45,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
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"require": {
"php": "^7.2|^8.0",
"guzzlehttp/guzzle": "^6.0|^7.0",
"illuminate/support": "^6.0|^7.0|^8.0",
"symfony/console": "^4.3|^5.0",
"symfony/process": "^4.3|^5.0"
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
"symfony/console": "^4.3|^5.0|^6.0",
"symfony/process": "^4.3|^5.0|^6.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0"
Expand Down

0 comments on commit 2418517

Please sign in to comment.