Skip to content

Commit

Permalink
add fetch depth to validate-packages
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Kohlbau <[email protected]>
  • Loading branch information
tobiaskohlbau committed Feb 17, 2024
1 parent 7cf0861 commit 83c256e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83c256e

Please sign in to comment.