From f0bd801f0cc646aff7d5d849c8397c4b31f586c5 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 9 Jul 2020 16:26:39 +0200 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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