Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upgrade goreleaser to v2 and goreleaser action to v6 #408

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: yoheimuta@gmail.com
folder: Formula
directory: Formula
description: Pluggable tool to enforce Protocol Buffer style and conventions
homepage: https://github.com/yoheimuta/protolint
test: |
Expand Down