Skip to content

Commit 63e7a15

Browse files
authored
Update goreleaser config and GitHub action (#456)
1 parent 78f4069 commit 63e7a15

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/releaser.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v2
3232
with:
33-
fetch-depth: '0'
33+
fetch-depth: 0
3434

3535
- name: Bump version and push tag
3636
id: tagger
@@ -51,9 +51,9 @@ jobs:
5151
fetch-depth: 0
5252
-
5353
name: Set up Go
54-
uses: actions/setup-go@v2
54+
uses: actions/setup-go@v5
5555
with:
56-
go-version: "1.21"
56+
go-version: "1.22"
5757
-
5858
name: Docker Login
5959
env:
@@ -63,7 +63,7 @@ jobs:
6363
echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin
6464
-
6565
name: Run GoReleaser
66-
uses: goreleaser/goreleaser-action@v2
66+
uses: goreleaser/goreleaser-action@v6
6767
with:
6868
distribution: goreleaser
6969
version: latest

.goreleaser.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
builds:
23
-
34
env:

0 commit comments

Comments
 (0)