Skip to content

Commit f7e75d9

Browse files
committed
feat(actions): upgrade the goreleaser step to version 5, and setup-go 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]>
1 parent 1680d20 commit f7e75d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: '1.20'
24+
go-version: '1.22'
2525
- name: Login to DockerHub
2626
uses: docker/login-action@v2
2727
with:
@@ -34,7 +34,7 @@ jobs:
3434
# env:
3535
# SNAP_TOKEN: ${{secrets.SNAP_LOGIN}}
3636
- name: Run GoReleaser
37-
uses: goreleaser/goreleaser-action@v3
37+
uses: goreleaser/goreleaser-action@v5
3838
with:
3939
version: latest
4040
args: release --clean

.goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ brews:
6262
- aws-iam-authenticator
6363
- Azure/kubelogin/kubelogin
6464
- kubernetes-cli
65-
folder: Formula
65+
directory: Formula
6666

6767
dockers:
6868
-

0 commit comments

Comments
 (0)