diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d7e7eb41..1443e4ed7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,21 +22,18 @@ jobs: - name: Checkout code uses: actions/checkout@v1 - - name: Cache dependencies - uses: actions/cache@v1 - with: - path: ~/.composer/cache/files - key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - - name: Setup PHP uses: shivammathur/setup-php@v1 with: php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick + tools: composer:v2 coverage: none - name: Install dependencies - run: composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction + run: | + composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update + composer update --prefer-dist --no-interaction --no-progress - name: Execute tests run: vendor/bin/phpunit --verbose