From 7a3ff60c68e30e17f62fa5acd328feab45819f58 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Mon, 4 Apr 2022 15:01:23 +0200 Subject: [PATCH] ci: reduce git-checkout depth --- .github/workflows/ci.yml | 2 ++ .github/workflows/lint.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09045a507..75e3cf866 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,8 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + with: + fetch-depth: 1 - name: Cache-Go uses: actions/cache@v1 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9ee28b35e..ceb03acfd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 1 - name: cgo deps run: | sudo apt-get update