Skip to content

Commit

Permalink
disable manual/secondary caching (#885)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it

The regular setup-go has already a [caching mechanism
integrated](https://github.com/actions/setup-go?tab=readme-ov-file#caching-dependency-files-and-build-outputs)

#### Which issue(s) this PR fixes

Fixes #847
  • Loading branch information
hilmarf authored Aug 23, 2024
1 parent 1b65941 commit 7c9b25c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: '${{ github.workspace }}/go.mod'
check-latest: false

- name: Setup Syft
uses: anchore/sbom-action/download-syft@ab9d16d4b419c9d1a02df5213fa0ebe965ca5a57 # v0.17.1
Expand All @@ -152,16 +153,6 @@ jobs:
git config user.name "GitHub Actions Bot"
git config user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
- name: Cache go-build and mod
uses: actions/cache@v4
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Set Base Version
run: |
BASE_VERSION=v$(go run $GITHUB_WORKSPACE/api/version/generate print-version)
Expand Down
1 change: 0 additions & 1 deletion sonar-project.properties

This file was deleted.

0 comments on commit 7c9b25c

Please sign in to comment.