This repository was archived by the owner on Nov 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 34
34
35
35
- name : Checkout
36
36
uses : actions/checkout@v2
37
-
37
+
38
38
- name : Install Go
39
39
uses : actions/setup-go@v2
40
40
with :
50
50
run : ./scripts/test_go.sh
51
51
env :
52
52
COVERALLS_TOKEN : ${{ github.token }}
53
+
54
+ - name : Test Release
55
+ uses : goreleaser/goreleaser-action@v2
56
+ with :
57
+ distribution : goreleaser
58
+ version : latest
59
+ args : release --rm-dist --snapshot --skip-publish
Original file line number Diff line number Diff line change @@ -21,25 +21,19 @@ jobs:
21
21
goreleaser :
22
22
runs-on : ubuntu-latest
23
23
steps :
24
- -
25
- name : Checkout
24
+ - name : Checkout
26
25
uses : actions/checkout@v2
27
26
with :
28
27
fetch-depth : 0
29
- -
30
- name : Set up Go
28
+ - name : Set up Go
31
29
uses : actions/setup-go@v2
32
30
with :
33
31
go-version : 1.17
34
- -
35
- name : Run GoReleaser
32
+ - name : Run GoReleaser
36
33
uses : goreleaser/goreleaser-action@v2
37
34
with :
38
- # either 'goreleaser' (default) or 'goreleaser-pro'
39
35
distribution : goreleaser
40
36
version : latest
41
37
args : release --rm-dist
42
38
env :
43
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
- # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
45
- # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
You can’t perform that action at this time.
0 commit comments