Skip to content

Commit 0977c05

Browse files
Update goreleaser action to v6 and set goreleaser binary to v2 (#959)
Signed-off-by: Daniel Weiße <[email protected]>
1 parent bccd6e4 commit 0977c05

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
username: ${{ github.actor }}
3131
password: ${{ secrets.GITHUB_TOKEN }}
3232
- name: Run GoReleaser
33-
uses: goreleaser/goreleaser-action@v3
33+
uses: goreleaser/goreleaser-action@v6
3434
with:
3535
distribution: goreleaser
36-
version: latest
37-
args: release ${{ inputs.args }} --rm-dist
36+
version: '~> v2'
37+
args: release ${{ inputs.args }} --clean
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
run: go test -race ./...
2828
release-check:
2929
if: ${{ github.ref != 'refs/heads/v2' }}
30-
uses: pelletier/go-toml/.github/workflows/release.yml@v2
30+
uses: ./.github/workflows/release.yml
3131
with:
3232
args: --snapshot

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
before:
23
hooks:
34
- go mod tidy

0 commit comments

Comments
 (0)