From 730f5057254b662da0dfcd6a94bd31af063b37a9 Mon Sep 17 00:00:00 2001 From: Chris Doherty Date: Mon, 29 Apr 2024 12:02:36 -0500 Subject: [PATCH] Change CI checkout fetch depth 5 in tests Code coverage requires a fetch depth > 1 to retrieve historical information. Signed-off-by: Chris Doherty --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 67852dc4..ea497caa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,6 +49,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 5 - uses: actions/setup-go@v5 with: @@ -90,6 +92,8 @@ jobs: needs: [test, integration] steps: - uses: actions/checkout@v4 + with: + fetch-depth: 5 - uses: actions/setup-go@v5 with: