Skip to content

Commit 976f4bb

Browse files
author
Paulo Gomes
committed
fuzz: Fix cache path
Signed-off-by: Paulo Gomes <[email protected]>
1 parent e26f8b4 commit 976f4bb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/cifuzz.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ jobs:
2121
uses: actions/setup-go@v3
2222
with:
2323
go-version: 1.18.x
24+
- id: go-env
25+
run: |
26+
echo "::set-output name=go-mod-cache::$(go env GOMODCACHE)"
2427
- name: Restore Go cache
2528
uses: actions/cache@v3
2629
with:
27-
path: /home/runner/work/_temp/_github_home/go/pkg/mod
30+
path: ${{ steps.go-env.outputs.go-mod-cache }}
2831
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
2932
restore-keys: |
30-
${{ runner.os }}-go-
33+
${{ runner.os }}-go
3134
- name: Smoke test Fuzzers
3235
run: make fuzz-smoketest

0 commit comments

Comments
 (0)