Skip to content

Commit

Permalink
Merge pull request #65 from renoki-co/feature/laravel-10
Browse files Browse the repository at this point in the history
[update] Laravel 10.x
  • Loading branch information
rennokki committed Apr 14, 2023
2 parents d7ecc30 + efdd7e7 commit 67f03da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
fail-fast: false
matrix:
php:
- '8.0'
- '8.1'
- '8.2'
laravel:
- 8.*
- 9.*
- 10.*
prefer:
- 'prefer-lowest'
- 'prefer-stable'
include:
- laravel: '8.*'
testbench: '6.*'
- laravel: '9.*'
testbench: '7.*'
- laravel: '10.*'
testbench: '8.*'

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

Expand All @@ -54,7 +54,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "orchestra/database:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.prefer }} --prefer-dist --no-interaction --no-suggest
- name: Run tests
Expand Down
12 changes: 5 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
}
],
"require": {
"illuminate/contracts": "^8.83|^9.0.1",
"illuminate/database": "^8.83|^9.0.1",
"illuminate/support": "^8.83|^9.0.1"
"illuminate/contracts": "^9.35|^10.5",
"illuminate/database": "^9.35|^10.5",
"illuminate/support": "^9.35|^10.5"
},
"autoload": {
"psr-4": {
Expand All @@ -37,15 +37,13 @@
"require-dev": {
"laravel/legacy-factories": "^1.3",
"mockery/mockery": "^1.5",
"orchestra/database": "^6.28|^7.0",
"orchestra/testbench": "^6.28|^7.0",
"orchestra/testbench-core": "^6.28|^7.0",
"orchestra/testbench": "^7.23|^8.3",
"phpunit/phpunit": "^9.5.21"
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"extra": {
"laravel": {
"providers": [
Expand Down

0 comments on commit 67f03da

Please sign in to comment.