Skip to content

Commit

Permalink
chore(workflows): bump actions/checkout to v2
Browse files Browse the repository at this point in the history
actions/checkout v2 clones shallow repos by default.
I've set the fetch-depth to 0 to prevent this, because goreleaser requires the
full history available locally in order to generate the release notes
automatically.
  • Loading branch information
panchoh committed Feb 29, 2020
1 parent d35b5bd commit 6f3cb23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-go@v1
with:
go-version: 1.14
Expand Down

0 comments on commit 6f3cb23

Please sign in to comment.