Skip to content

Commit f3c849d

Browse files
committed
actions: update goreleaser workflow
1 parent 6a63a04 commit f3c849d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/goreleaser.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v2
13-
14-
- name: Unshallow
15-
run: git fetch --prune --unshallow
13+
with:
14+
fetch-depth: 0
1615

1716
- name: Set up Go
18-
uses: actions/setup-go@v1
17+
uses: actions/setup-go@v2
1918
with:
2019
go-version: 1.16.x
2120

2221
- name: Run GoReleaser
23-
uses: goreleaser/goreleaser-action@v1
22+
uses: goreleaser/goreleaser-action@v2
2423
with:
2524
version: latest
2625
args: release --rm-dist

0 commit comments

Comments
 (0)