diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3ee949547..c849fe80b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,9 +52,6 @@ jobs: php-version: - "7.4" - "8.0" - dependencies: - - lowest - - highest steps: - name: "Configure git to avoid issues with line endings" @@ -85,15 +82,10 @@ jobs: uses: actions/cache@v2 with: path: ${{ env.COMPOSER_CACHE_DIR }} - key: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }} - restore-keys: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}- + key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }} + restore-keys: php${{ matrix.php-version }}-composer- - - name: "Install lowest dependencies with composer" - if: matrix.dependencies == 'lowest' - run: composer update --no-ansi --no-interaction --no-progress --no-suggest --prefer-lowest - - - name: "Install highest dependencies with composer" - if: matrix.dependencies == 'highest' + - name: "Install dependencies with composer" run: composer update --no-ansi --no-interaction --no-progress --no-suggest - name: "Run tests with phpunit"