feat(ci): add check for goreleaser configuration (#863)

This commit is contained in:
Ruben Hönle 2025-06-03 09:51:22 +02:00 committed by GitHub
parent fe389249c0
commit 6eaae259e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View file

@ -32,3 +32,15 @@ jobs:
- name: Test
run: make test
config:
name: Check GoReleaser config
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
args: check

View file

@ -31,7 +31,7 @@ builds:
goarch: '386'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
- formats: [ 'zip' ]
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
extra_files: