From 6953b05f6053f6078bb56071efbb7e07325dee0b Mon Sep 17 00:00:00 2001 From: Konotorii <79553360+konotorii@users.noreply.github.com> Date: Sun, 2 Jun 2024 14:07:17 -0400 Subject: [PATCH] fix: goreleaser workflow --- .github/workflows/releaser.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 67464f4..39f1a4f 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -20,6 +20,16 @@ jobs: uses: actions/setup-go@v5 with: go-version: "^1" + - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + with: + path: | + ~/.cache/go-build + ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- + - uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0 + - uses: anchore/sbom-action/download-syft@e8d2a6937ecead383dfe75190d104edd1f9c5751 # v0.16.0 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: