diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index adbc50f..31fd393 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,8 +16,13 @@ jobs: matrix: os: [ubuntu-latest] php: [8.2] - laravel: ['^9.22'] + laravel: ['^9.22', '10.*'] stability: [prefer-lowest, prefer-stable] + include: + - laravel: "^9.22" + testbench: 7.* + - laravel: 10.* + testbench: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -39,8 +44,8 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update --ansi - composer update --${{ matrix.stability }} --prefer-dist --no-interaction --ansi + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Execute tests run: composer test:unit diff --git a/composer.json b/composer.json index 47f7716..fa69b02 100644 --- a/composer.json +++ b/composer.json @@ -18,18 +18,17 @@ "require": { "php": "^8.2", "guzzlehttp/guzzle": "^7.5", - "laravel/framework": "^9.46", + "laravel/framework": "^9.46|^10.0", "pragmarx/google2fa": "^8.0", - "spatie/laravel-package-tools": "^1.13.8" + "spatie/laravel-package-tools": "^1.14.1" }, "require-dev": { "nunomaduro/collision": "^6.3", - "nunomaduro/larastan": "^2.3.2", - "orchestra/testbench": "^7.18", + "nunomaduro/larastan": "^2.4.0", + "orchestra/testbench": "^7.18|^8.0", "pestphp/pest": "^1.22.3", "pestphp/pest-plugin-parallel": "^1.2", - "pestphp/pest-plugin-laravel": "^1.1", - "spatie/laravel-ray": "^1.30", + "pestphp/pest-plugin-laravel": "^1.4", "worksome/pest-plugin-silence": "^0.1.2", "worksome/coding-style": "^2.3" },