From f6b24206faf1768108f9e90242c25d9306497dc3 Mon Sep 17 00:00:00 2001 From: ARCANEDEV Date: Fri, 26 Feb 2021 18:28:54 +0100 Subject: [PATCH] Fix github actions --- .github/workflows/run-tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 32c1d1f..dff4929 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -24,12 +24,14 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + fetch-depth: 2 - name: Cache dependencies uses: actions/cache@v2 with: path: ~/.composer/cache/files - key: dependencies-laravel-8.x-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} + key: dependencies-laravel-8-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -37,6 +39,7 @@ jobs: php-version: ${{ matrix.php }} extensions: curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv coverage: xdebug + tools: composer:v2 - name: Install dependencies run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction