diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0b0a36cc..c47f528f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 }} @@ -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 diff --git a/composer.json b/composer.json index 63aa618c..988b43d8 100644 --- a/composer.json +++ b/composer.json @@ -14,9 +14,9 @@ "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", @@ -24,7 +24,7 @@ }, "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" },