Skip to content

Commit d4b6c6a

Browse files
authored
build: Update GoReleaser version (#1218)
* build: Update GoReleaser version * Add workflow to check GoReleaser config * Add build checks * Revert "Add build checks" This reverts commit 3e975e6.
1 parent d2339d6 commit d4b6c6a

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.github/workflows/goreleaser.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: goreleaser
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
with:
18+
submodules: true
19+
- name: Set up Go
20+
uses: actions/setup-go@v2
21+
with:
22+
go-version: 1.17
23+
- name: goreleaser check
24+
uses: goreleaser/goreleaser-action@v2
25+
with:
26+
version: v0.178.0
27+
args: check

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
with:
1717
submodules: true
1818
- name: Set up Go
19-
uses: actions/setup-go@v2.1.4
19+
uses: actions/setup-go@v2
2020
with:
2121
go-version: 1.17
2222
- name: Run GoReleaser
2323
uses: goreleaser/goreleaser-action@v2
2424
with:
25-
version: v0.169.0
25+
version: v0.178.0
2626
args: release --rm-dist
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)