diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 094eefb..62747fd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,13 +13,19 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.2, 8.1] - laravel: [10.*] + php: [8.1, 8.2] + laravel: [10.*, 11.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* carbon: ^2.63 + - 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 }} @@ -44,8 +50,5 @@ jobs: 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: List Installed Dependencies - run: composer show -D - - name: Execute tests - run: vendor/bin/pest --ci \ No newline at end of file + run: vendor/bin/pest --ci diff --git a/composer.json b/composer.json index 47cb523..c4d3228 100644 --- a/composer.json +++ b/composer.json @@ -18,27 +18,26 @@ "require": { "php": "^8.1", "guzzlehttp/guzzle": "^7.5", - "illuminate/contracts": "^9.0|^10.0", + "illuminate/contracts": "^9.0|^10.0|^11.0", "j0k3r/php-readability": "^2.0", "jeremykendall/php-domain-parser": "^6.3", "spatie/browsershot": "^3.0|^4.0", "spatie/laravel-package-tools": "^1.13", "symfony/dom-crawler": "^6.2", - "symfony/finder": "^6.2", + "symfony/finder": "^6.2|^7.0", "vipnytt/robotstxtparser": "^2.1" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^6.0", + "nunomaduro/collision": "^6.0|^7.0|^8.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", - "pestphp/pest-plugin-parallel": "^1.2", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "pestphp/pest": "^1.0|^2.34", + "pestphp/pest-plugin-laravel": "^1.0|^2.3", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^9.5|^10.0" }, "autoload": { "psr-4": {