diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 2a21df5..40995f2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,12 +13,19 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.1] - laravel: [9.*] + php: [8.1, 8.2] + laravel: [10.*, 11.*] stability: [prefer-lowest, prefer-stable] include: - - laravel: 9.* - testbench: 7.* + - laravel: 10.* + testbench: 8.* + carbon: ^2.67 + - laravel: 11.* + testbench: 9.* + carbon: ^2.72.2 + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -40,8 +47,8 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Execute tests - run: vendor/bin/pest + run: vendor/bin/pest --ci \ No newline at end of file diff --git a/composer.json b/composer.json index c28d365..7414f2f 100644 --- a/composer.json +++ b/composer.json @@ -13,23 +13,22 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^9.0|^10.0", + "illuminate/contracts": "^9.0|^10.0|^11.0", "spatie/browsershot": "^3.0|^4.0", "spatie/laravel-package-tools": "^1.14" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^7.0", + "nunomaduro/collision": "^7.0|^8.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^8.0", - "pestphp/pest": "^2.30", + "orchestra/testbench": "^8.0|^9.0", + "pestphp/pest": "^2.34", "pestphp/pest-plugin-laravel": "^2.2", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.11", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^10.0", - "spatie/laravel-ray": "^1.26" + "phpunit/phpunit": "^10.0" }, "autoload": { "psr-4": {