chore(workflows): bump actions/checkout to v2

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.
This commit is contained in:
pancho horrillo
2020-02-29 13:20:06 +01:00
parent d35b5bda20
commit 6f3cb233a9
+4 -1
View File
@@ -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