Skip to content

Commit fca0bf0

Browse files
committed
adding goreleaser
1 parent 7178cfa commit fca0bf0

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/go.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,23 @@ jobs:
1313
id: go
1414

1515
- name: Check out code into the Go module directory
16-
uses: actions/checkout@v1
16+
uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
1719

1820
- name: CI Tasks
1921
run: make ci
2022

2123
- name: Coveralls
2224
uses: coverallsapp/github-action@v1.0.1
2325
with:
24-
github-token: ${{ secrets.github_token }}
25-
path-to-lcov: coverage.lcov
26+
github-token: ${{ secrets.GITHUB_TOKEN }}
27+
path-to-lcov: coverage.lcov
28+
-
29+
name: Run GoReleaser
30+
uses: goreleaser/goreleaser-action@v2
31+
with:
32+
version: latest
33+
args: release --rm-dist
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)