From 83c256e78c3e6e5cbcdbb18a1295b28b845275b0 Mon Sep 17 00:00:00 2001 From: Tobias Kohlbau Date: Sat, 17 Feb 2024 12:40:03 +0100 Subject: [PATCH] add fetch depth to validate-packages Signed-off-by: Tobias Kohlbau --- .github/workflows/build.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e68e82a..a4caf4fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,13 +47,7 @@ jobs: uses: actions/checkout@v4 with: fetch-tags: true # required for "git describe" - - - name: Fetch more data from git - run: | - # fetch everything back till the $(ZIG_VERSION) tag. - # https://stackoverflow.com/a/58082274 - git fetch --shallow-exclude ${{ env.ZIG_VERSION }} - git fetch --deepen=2 + fetch-depth: '0' # clone complete history - name: Setup Zig uses: goto-bus-stop/setup-zig@v2