From c30b077d74b7043467432dc58281abfc8b72a3dc Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 15 Jun 2020 18:36:44 +0200 Subject: [PATCH] Remove missing unshallow steps --- .github/workflows/ci.yml | 10 ++++------ .github/workflows/test.yml | 5 ++--- README.md | 2 -- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1481615..2f08504 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,9 +29,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - - name: Unshallow - run: git fetch --prune --unshallow + with: + fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v2 @@ -63,9 +62,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - - name: Unshallow - run: git fetch --prune --unshallow + with: + fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca37ee0..28360d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,9 +25,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - - name: Unshallow - run: git fetch --prune --unshallow + with: + fetch-depth: 0 - name: Install run: yarn install diff --git a/README.md b/README.md index c7ceb40..28b8d8f 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` -> **IMPORTANT**: note the `Unshallow` step. It is required for the changelog to work correctly. - ### Run on new tag If you want to run GoReleaser only on new tag, you can use this event: