File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,21 +23,24 @@ jobs:
2323 echo "::set-output name=go-mod::$(go env GOMODCACHE)"
2424
2525 - name : Checkout repository
26- uses : actions/checkout@v2
26+ uses : actions/checkout@v3
27+ with :
28+ fetch-depth : 0
2729
2830 # Cache go build cache, used to speedup go test
2931 - name : Go Build Cache
3032 uses : actions/cache@v2
3133 with :
3234 path : ${{ steps.go-cache-paths.outputs.go-build }}
3335 key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
34- #
36+
3537 # Cache go mod cache, used to speedup builds
3638 - name : Go Mod Cache
3739 uses : actions/cache@v2
3840 with :
3941 path : ${{ steps.go-cache-paths.outputs.go-mod }}
4042 key : ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
43+
4144 # Run goreleaser; this one creates the GH release and pushes the images
4245 - name : Run GoReleaser
4346 id : goreleaser-id
You can’t perform that action at this time.
0 commit comments