From 413cc99dc1c8f5242118c0fc50f067608ebdb94d Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Tue, 15 Feb 2022 12:01:54 +0400
Subject: [PATCH] Updated project fetching in CI.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 .github/workflows/test.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c8b52b1..0c4388b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -56,7 +56,9 @@ jobs:
     if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v1
+      - uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
       - name: Install nightly toolchain
         run: rustup toolchain install nightly --component llvm-tools-preview
       - name: Install cargo-llvm-cov
@@ -67,4 +69,4 @@ jobs:
         uses: coverallsapp/github-action@master
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}
-          path-to-lcov: lcov.info
\ No newline at end of file
+          path-to-lcov: lcov.info
-- 
GitLab