diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bacbc3f..a4cebf4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} @@ -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 diff --git a/composer.json b/composer.json index df79fdf..f799a70 100644 --- a/composer.json +++ b/composer.json @@ -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": { @@ -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": {