diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab8dd3202..d4202baec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,8 +13,8 @@ jobs: strategy: fail-fast: true matrix: - php: [8.0, 8.1] - laravel: [^8.35] + php: ['8.0', 8.1] + laravel: [8, 9] driver: [swoole, openswoole] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.driver }} @@ -37,7 +37,7 @@ jobs: - name: Install dependencies run: | - composer require laravel/framework:"^8.35" --no-update + composer require "laravel/framework:^${{ matrix.laravel }}" --no-update composer update --prefer-dist --no-interaction --no-progress - name: Execute tests diff --git a/composer.json b/composer.json index e49dfa803..7fe496ab5 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "require": { "php": "^8.0", - "laravel/framework": "^8.77", + "laravel/framework": "^8.77|^9.0", "laminas/laminas-diactoros": "^2.5", "laravel/serializable-closure": "^1.0", "symfony/psr-http-message-bridge": "^2.0" @@ -23,10 +23,9 @@ "require-dev": { "guzzlehttp/guzzle": "^7.2", "mockery/mockery": "^1.4", - "nunomaduro/collision": "^5.3", - "orchestra/testbench": "^6.16", + "nunomaduro/collision": "^5.10|^6.0", + "orchestra/testbench": "^6.16|^7.0", "phpunit/phpunit": "^9.3", - "spatie/laravel-ray": "^1.14", "spiral/roadrunner": "^2.0" }, "bin": [