Skip to content

Commit

Permalink
Update goreleaser to v2 (#197)
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi authored Jun 18, 2024
1 parent 96ce4bf commit c29c733
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.18.x
go-version: 1.22.1
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2.1.1
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
Expand Down
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
run:
go: "1.22.1"
linters:
enable:
- gofmt
Expand Down
6 changes: 5 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
# Version of the configuration file
version: 2

before:
hooks:
- go mod tidy

builds:
- env:
- CGO_ENABLED=0
Expand Down Expand Up @@ -45,4 +49,4 @@ signs:
release:
draft: false
changelog:
skip: true
disable: true

0 comments on commit c29c733

Please sign in to comment.