diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 01ee503..de9354d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,10 +3,10 @@ name: Tests on: push: paths-ignore: - - 'readme.md' + - readme.md pull_request: paths-ignore: - - 'readme.md' + - readme.md release: jobs: @@ -15,7 +15,7 @@ jobs: strategy: matrix: - laravel: [8.*, 9.*, 10.*] + laravel: ['8.*', '9.*', '10.*', '11.*'] php: [7.3, 8.0, 8.1, 8.2] exclude: - laravel: 9.* @@ -24,6 +24,12 @@ jobs: php: 7.3 - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 7.3 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 fail-fast: false name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }} @@ -40,8 +46,8 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts:${{ matrix.laravel }}" "illuminate/filesystem:${{ matrix.laravel }}" "illuminate/container:${{ matrix.laravel }}" --no-interaction --no-update - composer update --prefer-stable --prefer-dist --no-interaction --no-suggest + composer require "illuminate/contracts:${{ matrix.laravel }}" "illuminate/filesystem:${{ matrix.laravel }}" "illuminate/container:${{ matrix.laravel }}" --no-interaction --no-update + composer update --prefer-stable --prefer-dist --no-interaction --no-suggest - name: Run tests run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index 1f507f5..75dac75 100644 --- a/composer.json +++ b/composer.json @@ -24,15 +24,15 @@ }, "require": { "php": ">=5.5.9", - "illuminate/contracts": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/filesystem": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0", - "symfony/http-foundation": "2.6 - 4|^5.0|^6.0" + "illuminate/contracts": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0 ^11.0", + "illuminate/filesystem": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0 ^11.0", + "symfony/http-foundation": "2.6 - 4|^5.0|^6.0 ^7.0" }, "require-dev": { - "illuminate/container": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/container": "5.0 - 5.8|^6.0|^7.0|^8.0|^9.0|^10.0 ^11.0", "mockery/mockery": "^0.9.5|^1.4.4", - "phpunit/phpunit": "^4.8|^9.5", - "symfony/var-dumper": "^4.4|^5.0|^6.0" + "phpunit/phpunit": "^4.8|^9.5 ^10.5", + "symfony/var-dumper": "^4.4|^5.0|^6.0 ^7.0" }, "suggest": { "illuminate/console": "Allows clearing the cache via artisan"