Skip to content

Commit

Permalink
ci: Pin goreleaser to v1 (#969)
Browse files Browse the repository at this point in the history
Signed-off-by: James Alseth <[email protected]>
  • Loading branch information
jalseth authored Jul 8, 2024
1 parent 3ca1e3a commit 066d0f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
# Dockerhub to avoid having mismatches between what is in Dockerhub
# and GitHub releases.
- name: check releaser config
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
args: check
version: "~> v1"

- name: login to docker hub
uses: docker/login-action@v3
Expand All @@ -46,8 +47,9 @@ jobs:
go-version: "1.22.x"

- name: release
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v6
with:
args: release --clean
version: "~> v1"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 1

before:
hooks:
- go mod download
Expand Down

0 comments on commit 066d0f4

Please sign in to comment.