Skip to content

Commit 6eaae25

Browse files
authored
feat(ci): add check for goreleaser configuration (#863)
1 parent fe38924 commit 6eaae25

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,15 @@ jobs:
3232

3333
- name: Test
3434
run: make test
35+
36+
config:
37+
name: Check GoReleaser config
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@v4
42+
43+
- name: Check GoReleaser
44+
uses: goreleaser/goreleaser-action@v6
45+
with:
46+
args: check

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ builds:
3131
goarch: '386'
3232
binary: '{{ .ProjectName }}_v{{ .Version }}'
3333
archives:
34-
- format: zip
34+
- formats: [ 'zip' ]
3535
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
3636
checksum:
3737
extra_files:

0 commit comments

Comments
 (0)