Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a963d7b

Browse files
committed
update github actions workflow config
1 parent bee2c54 commit a963d7b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/release.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: goreleaser
22

33
on:
4+
pull_request:
45
push:
56
tags:
67
- "*"
@@ -11,15 +12,17 @@ jobs:
1112
steps:
1213
-
1314
name: Checkout
14-
uses: actions/checkout@v1
15+
uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
1518
-
1619
name: Set up Go
17-
uses: actions/setup-go@v1
20+
uses: actions/setup-go@v2
1821
with:
19-
go-version: 1.13.5
22+
go-version: 1.15
2023
-
2124
name: Run GoReleaser
22-
uses: goreleaser/goreleaser-action@v1
25+
uses: goreleaser/goreleaser-action@v2
2326
with:
2427
version: latest
2528
args: release --rm-dist

0 commit comments

Comments
 (0)