Skip to content

Commit

Permalink
fix(ci): attempt another fix for clustertool ci caching
Browse files Browse the repository at this point in the history
  • Loading branch information
PrivatePuffin committed Nov 3, 2024
1 parent 19b3b97 commit e4ea353
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/clustertool.release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,18 @@ jobs:
goreleaser:
runs-on: actions-runners
steps:

- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 0
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version: stable
- name: Setup Golang caches
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
cache: true
cache-dependency-path: |
**/go.mod
**/go.sum
# - name: Install Syft
# run: sudo curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 0
- uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6
with:
args: release --clean
Expand Down

0 comments on commit e4ea353

Please sign in to comment.