diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1fcc422..4f88290 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,13 +14,16 @@ jobs: matrix: os: [ ubuntu-latest ] php: [ 8.1, 8.2 ] - laravel: [ 9.* ] + laravel: [ 9.*, 10.* ] stability: [ prefer-lowest, prefer-stable ] include: - laravel: 9.* testbench: 7.* + - laravel: 10.* + testbench: 8.* exclude: - php: 8.2 + laravel: 9.* stability: prefer-lowest name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index f4d120d..4a9bcca 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": "^8.1", - "illuminate/support": "^9.0", + "illuminate/support": "^9.0 || ^10.0", "nesbot/carbon": "^2.0", "phpstan/phpstan": "^1.4.5" }, @@ -25,7 +25,7 @@ "friendsofphp/php-cs-fixer": "^3.7", "nunomaduro/collision": "^6.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^7.0 || ^8.0", "pestphp/pest": "^1.21", "pestphp/pest-plugin-laravel": "^1.1", "phpstan/extension-installer": "^1.1",