diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e2b525c..8e75fa9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-version: ['8.0'] + php-version: ['8.0', '8.1'] services: redis: @@ -88,14 +88,14 @@ jobs: REDIS_SENTINEL_SERVICE: mymaster - name: Prepare paths for SonarQube analysis - if: matrix.php-version == '8.0' + if: matrix.php-version == '8.1' run: | sed -i "s|$GITHUB_WORKSPACE|/github/workspace|g" phpunit.coverage-clover.xml sed -i "s|$GITHUB_WORKSPACE|/github/workspace|g" phpunit.report-junit.xml - name: Run SonarQube analysis uses: sonarsource/sonarcloud-github-action@master - if: matrix.php-version == '8.0' + if: matrix.php-version == '8.1' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} diff --git a/composer.json b/composer.json index 7b6d160..a51a7e6 100644 --- a/composer.json +++ b/composer.json @@ -17,13 +17,13 @@ "require": { "php": "^8.0", "ext-redis": "*", - "illuminate/contracts": "^8.0", - "illuminate/redis": "^8.0", - "illuminate/support": "^8.0" + "illuminate/contracts": "^8.0|^9.0", + "illuminate/redis": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", - "orchestra/testbench": "^6.0" + "orchestra/testbench": "^6.0|^7.0" }, "scripts": { "test": [