Skip to content

Commit 427802e

Browse files
committed
chore: bump goreleaser action
* Add new version field in .goreleaser.yaml for compatibility. * Replace deprecated --debug flag.
1 parent c6e4be6 commit 427802e

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
with:
2323
go-version: stable
2424
- run: echo "GOVERSION=$(go version)" >> "$GITHUB_ENV"
25-
- uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
25+
- uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
2626
id: goreleaser
2727
with:
2828
version: latest
29-
args: build --clean --debug --single-target --snapshot
29+
args: build --clean --verbose --single-target --snapshot
3030
- name: Login to GHCR
3131
if: github.actor != 'dependabot[bot]'
3232
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: mv "$GITHUB_SBOM_PATH" ./sbom.spdx.json
5656
env:
5757
GITHUB_SBOM_PATH: ${{ steps.sbom.outputs.fileName }}
58-
- uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
58+
- uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
5959
id: goreleaser
6060
with:
6161
version: latest

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
builds:
23
- id: go-cli-github
34
binary: go-cli-github

0 commit comments

Comments
 (0)