Skip to content

Commit

Permalink
Merge pull request #408 from yoheimuta/upgrade-goreleaser
Browse files Browse the repository at this point in the history
feat: Upgrade goreleaser to v2 and goreleaser action to v6
  • Loading branch information
yoheimuta authored Jun 5, 2024
2 parents d652e30 + 61d42cf commit 1d1e061
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
logout: true # optional, default is true
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
# You can't set the default GITHUB_TOKEN because of 403 Resource not accessible to the relevant homebrew repository
## See https://github.com/yoheimuta/protolint/actions/runs/3406771906/jobs/5665753996
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
go-version: 1.21
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down
5 changes: 3 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
version: 2
before:
hooks:
- go mod download
Expand Down Expand Up @@ -69,13 +70,13 @@ changelog:
brews:
-
name: protolint
tap:
repository:
owner: yoheimuta
name: homebrew-protolint
commit_author:
name: goreleaserbot
email: [email protected]
folder: Formula
directory: Formula
description: Pluggable tool to enforce Protocol Buffer style and conventions
homepage: https://github.com/yoheimuta/protolint
test: |
Expand Down

0 comments on commit 1d1e061

Please sign in to comment.