diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 7a2f44e..f83f2f6 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -17,9 +17,13 @@ jobs: os: [ubuntu-latest] php: [8.3, 8.2, 8.1] laravel: [10.*, 11.*] + testbench: [8.*, 9.*] stability: [prefer-stable] exclude: + - laravel: 10.* + testbench: 9.* - laravel: 11.* + testbench: 8.* php: 8.1 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.os }} @@ -37,7 +41,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: List Installed Dependencies diff --git a/composer.json b/composer.json index 7bb7c7b..a81cf12 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "friendsofphp/php-cs-fixer": "^3.8", "larastan/larastan": "^2.9", "nunomaduro/collision": "^7.0|^8.1", - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^8.0|^9.0", "phpunit/phpunit": "^10.0" }, "suggest": {