Skip to content

Commit 79131de

Browse files
KapJItwpayne
authored andcommitted
chore: Use .github/actions/setup-go in govulncheck
1 parent 9844fb3 commit 79131de

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/govulncheck.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,10 @@ jobs:
2424
id: go-version
2525
run: |
2626
echo go-version="$(awk '/GO_VERSION:/ { print $2 }' .github/workflows/main.yml | tr -d \')" >> "${GITHUB_OUTPUT}"
27-
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a
27+
- uses: ./.github/actions/setup-go
2828
with:
29-
path: |
30-
/home/runner/go/pkg/mod
31-
/home/runner/.cache/go-build
32-
key: govulncheck-${{ runner.os }}-${{ steps.go-version.outputs.go-version }}-${{ hashFiles('**/go.sum') }}
33-
restore-keys: |
34-
govulncheck-${{ runner.os }}-${{ steps.go-version.outputs.go-version }}-
29+
go-version: ${{ steps.go-version.outputs.go-version }}
30+
upload-cache: false
3531
- uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee
3632
with:
3733
cache: false

0 commit comments

Comments
 (0)