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 3434
3535 - name : Checkout
3636 uses : actions/checkout@v2
37-
37+
3838 - name : Install Go
3939 uses : actions/setup-go@v2
4040 with :
5050 run : ./scripts/test_go.sh
5151 env :
5252 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:
2121 goreleaser :
2222 runs-on : ubuntu-latest
2323 steps :
24- -
25- name : Checkout
24+ - name : Checkout
2625 uses : actions/checkout@v2
2726 with :
2827 fetch-depth : 0
29- -
30- name : Set up Go
28+ - name : Set up Go
3129 uses : actions/setup-go@v2
3230 with :
3331 go-version : 1.17
34- -
35- name : Run GoReleaser
32+ - name : Run GoReleaser
3633 uses : goreleaser/goreleaser-action@v2
3734 with :
38- # either 'goreleaser' (default) or 'goreleaser-pro'
3935 distribution : goreleaser
4036 version : latest
4137 args : release --rm-dist
4238 env :
4339 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