Skip to content

Commit

Permalink
Merge pull request #178 from advil0/master
Browse files Browse the repository at this point in the history
Laravel 10 Support
  • Loading branch information
rennokki authored Apr 1, 2023
2 parents 9e2eabe + d080a4c commit abd7235
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,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 @@ -52,7 +52,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
10 changes: 4 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
}
],
"require": {
"illuminate/database": "^8.83|^9.35",
"illuminate/support": "^8.83|^9.35"
"illuminate/database": "^9.35|^10.5",
"illuminate/support": "^9.35|^10.5"
},
"autoload": {
"psr-4": {
Expand All @@ -37,13 +37,11 @@
"test": "vendor/bin/phpunit"
},
"require-dev": {
"chelout/laravel-relationship-events": "^1.5",
"chelout/laravel-relationship-events": "^1.5|^2.0",
"laravel/legacy-factories": "^1.3",
"livewire/livewire": "dev-master",
"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.1.1",
"phpunit/phpunit": "^9.5.25"
},
"config": {
Expand Down

0 comments on commit abd7235

Please sign in to comment.