Skip to content

Commit

Permalink
Fix git unshallow in CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Jun 15, 2020
1 parent 7d53cc1 commit fe0c22b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
with:
fetch-depth: 0
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: 1.14
Expand Down

0 comments on commit fe0c22b

Please sign in to comment.