Skip to content

Commit

Permalink
[5.x] Laravel v10 Support (#618)
Browse files Browse the repository at this point in the history
* Update composer.json

* Update tests.yml
  • Loading branch information
driesvints authored Jan 13, 2023
1 parent 4fe60e7 commit dae03ca
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 16 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,35 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
laravel: [^6.0, ^7.0, ^8.0, ^9.0]
php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2]
laravel: [6, 7, 8, 9, 10]
exclude:
- php: 7.2
laravel: ^8.0
laravel: 8
- php: 7.2
laravel: ^9.0
laravel: 9
- php: 7.2
laravel: 10
- php: 7.3
laravel: 9
- php: 7.3
laravel: ^9.0
laravel: 10
- php: 7.4
laravel: 9
- php: 7.4
laravel: ^9.0
laravel: 10
- php: '8.0'
laravel: 10
- php: 8.1
laravel: ^6.0
laravel: 6
- php: 8.1
laravel: ^7.0
laravel: 7
- php: 8.2
laravel: ^6.0
laravel: 6
- php: 8.2
laravel: ^7.0
laravel: 7
- php: 8.2
laravel: ^8.0
laravel: 8

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

Expand All @@ -55,7 +63,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
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"php": "^7.2|^8.0",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.0|^7.0",
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0",
"illuminate/http": "^6.0|^7.0|^8.0|^9.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0",
"league/oauth1-client": "^1.10.1"
},
"require-dev": {
"mockery/mockery": "^1.0",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0",
"orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0",
"phpunit/phpunit": "^8.0|^9.3"
},
"autoload": {
Expand Down

0 comments on commit dae03ca

Please sign in to comment.