Skip to content

Commit

Permalink
feat(actions): upgrade the goreleaser step to version 5, and setup-go…
Browse files Browse the repository at this point in the history
… version to 1.22

This change is needed to fix the depracted message 'DEPRECATED: brews.folder should not be used anymore, check https://goreleaser.com/deprecations#brewsfolder for more info', and to fix the issue 'unknown directive: toolchain' which is introduced, because we upgraded the source code to use go1.22, but not the GitHub Action

Signed-off-by: Casale, Robert <[email protected]>
  • Loading branch information
Gearheads committed May 7, 2024
1 parent 1680d20 commit 49bb310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
go-version: '1.22'
- name: Login to DockerHub
uses: docker/login-action@v2
with:
Expand All @@ -34,7 +34,7 @@ jobs:
# env:
# SNAP_TOKEN: ${{secrets.SNAP_LOGIN}}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ brews:
- aws-iam-authenticator
- Azure/kubelogin/kubelogin
- kubernetes-cli
folder: Formula
directory: Formula

dockers:
-
Expand Down

0 comments on commit 49bb310

Please sign in to comment.