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:
@@ -11,7 +11,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/setup-go@v1
|
- uses: actions/setup-go@v1
|
||||||
with:
|
with:
|
||||||
go-version: 1.14
|
go-version: 1.14
|
||||||
|
|||||||
Reference in New Issue
Block a user