diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ce9cb2a..ad501da 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,16 +1,19 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest] - php: [7.2, 7.3, 7.4, 8.0] - laravel: [6, 7, 8] + php: [7.2, 7.3, 7.4, 8.0, '8.2'] + laravel: [6, 7, 8, '11'] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 8 @@ -19,6 +22,8 @@ jobs: testbench: 5.* - laravel: 6 testbench: 4.* + - laravel: '11' + testbench: 9.* exclude: - laravel: 6 php: 8.0 @@ -31,6 +36,14 @@ jobs: - laravel: 8 php: 8.0 dependency-version: prefer-lowest + - laravel: '11' + php: 7.2 + - laravel: '11' + php: 7.3 + - laravel: '11' + php: 7.4 + - laravel: '11' + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }}.* - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index eced8da..0b934e8 100644 --- a/composer.json +++ b/composer.json @@ -29,14 +29,14 @@ ], "require": { "php": ">=7.2", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "guzzlehttp/guzzle": "^6.0|^7.0", - "symfony/psr-http-message-bridge": "^1.3|^2.0" + "symfony/psr-http-message-bridge": "^1.3|^2.0|^7.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "3.0.0", - "orchestra/testbench": "^4.0|^5.0|^6.0", - "phpunit/phpunit": "^8.4|^9.0" + "friendsofphp/php-cs-fixer": "3.0.0|^3.50", + "orchestra/testbench": "^4.0|^5.0|^6.0|^9.0", + "phpunit/phpunit": "^8.4|^9.0|^10.5" }, "autoload": { "psr-4": {