Skip to content

Commit cdf53b8

Browse files
committed
ci: update release pipeline to use GoReleaser v6 and remove unnecessary steps
1 parent 819bea2 commit cdf53b8

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,11 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525

26-
- name: Git Fetch
27-
run: git fetch --force --tags
28-
2926
- name: Setup go
3027
uses: actions/setup-go@v6
3128
with:
3229
go-version: stable
3330

34-
- name: Cache Go Modules
35-
uses: actions/cache@v5
36-
with:
37-
path: |
38-
~/.cache/go-build
39-
~/go/pkg/mod
40-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
41-
restore-keys: |
42-
${{ runner.os }}-go-
4331
- uses: anchore/sbom-action/download-syft@78fc58e266e87a38d4194b2137a3d4e9bcaf7ca1 # v0.14.3
4432

4533
- name: Set Up Docker Buildx
@@ -53,7 +41,7 @@ jobs:
5341
password: ${{ secrets.GITHUB_TOKEN }}
5442

5543
- name: Release with Goreleaser
56-
uses: goreleaser/goreleaser-action@v4
44+
uses: goreleaser/goreleaser-action@v6
5745
with:
5846
distribution: goreleaser
5947
version: latest

0 commit comments

Comments
 (0)