Skip to content

Commit

Permalink
[5.x] Laravel v10 Support (#1234)
Browse files Browse the repository at this point in the history
* Update tests.yml

* Update composer.json

* Update composer.json
  • Loading branch information
driesvints authored Jan 9, 2023
1 parent 39b2554 commit 7dcddbf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@ jobs:
fail-fast: true
matrix:
php: [7.3, 7.4, '8.0', 8.1, 8.2]
laravel: [8.*, 9.*]
laravel: [8, 9, 10]
exclude:
- php: 7.3
laravel: 9.*
laravel: 9
- php: 7.3
laravel: 10
- php: 7.4
laravel: 9
- php: 7.4
laravel: 9.*
laravel: 10
- php: '8.0'
laravel: 10
- php: 8.2
laravel: 8.*
laravel: 8

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

Expand All @@ -50,7 +56,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts=${{ matrix.laravel }}" --dev --no-update
composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --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 @@ -14,17 +14,17 @@
"ext-json": "*",
"ext-pcntl": "*",
"ext-posix": "*",
"illuminate/contracts": "^8.17|^9.0",
"illuminate/queue": "^8.17|^9.0",
"illuminate/support": "^8.17|^9.0",
"illuminate/contracts": "^8.17|^9.0|^10.0",
"illuminate/queue": "^8.17|^9.0|^10.0",
"illuminate/support": "^8.17|^9.0|^10.0",
"nesbot/carbon": "^2.17",
"ramsey/uuid": "^4.0",
"symfony/process": "^5.0|^6.0",
"symfony/error-handler": "^5.0|^6.0"
},
"require-dev": {
"mockery/mockery": "^1.0",
"orchestra/testbench": "^6.0|^7.0",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"phpunit/phpunit": "^9.0",
"predis/predis": "^1.1|^2.0"
},
Expand Down

0 comments on commit 7dcddbf

Please sign in to comment.