mirror of
https://github.com/TECHNOFAB11/docsonnet.git
synced 2025-12-12 06:20:12 +01:00
fix: fetch-depth of go-releaser workflow (#47)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
This commit is contained in:
parent
cf4ff4b950
commit
c9cc5534fc
1 changed files with 5 additions and 2 deletions
7
.github/workflows/go-releaser.yml
vendored
7
.github/workflows/go-releaser.yml
vendored
|
|
@ -23,7 +23,9 @@ jobs:
|
|||
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# Cache go build cache, used to speedup go test
|
||||
- name: Go Build Cache
|
||||
|
|
@ -31,13 +33,14 @@ jobs:
|
|||
with:
|
||||
path: ${{ steps.go-cache-paths.outputs.go-build }}
|
||||
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
|
||||
#
|
||||
|
||||
# Cache go mod cache, used to speedup builds
|
||||
- name: Go Mod Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.go-cache-paths.outputs.go-mod }}
|
||||
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
|
||||
|
||||
# Run goreleaser; this one creates the GH release and pushes the images
|
||||
- name: Run GoReleaser
|
||||
id: goreleaser-id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue