We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a06c4a commit 51f926cCopy full SHA for 51f926c
.github/workflows/go-test.yml
@@ -107,7 +107,7 @@ jobs:
107
name: Locate go fuzz cache
108
run: |
109
GOCACHE=$(go env GOCACHE)
110
- echo "GOCACHE=${GOCACHE}/fuzz" >> "${GITHUB_ENV}"
+ echo "CORPUS_DIR=${GOCACHE}/fuzz" >> "${GITHUB_ENV}"
111
-
112
uses: actions/cache@v3
113
with:
@@ -126,14 +126,8 @@ jobs:
126
fi
127
128
name: Run go fuzz tests
129
- run: >
130
- go test
131
- -v
132
- -run Fuzz
133
- -fuzz Fuzz
134
- -fuzztime 2m
135
- -fuzzminimizetime 5m
136
- ./...
+ run: |
+ go test -fuzz=Fuzz -run Fuzz -fuzztime=5m --fuzzminimizetime=5m ./...
137
138
name: Upload failed corpus
139
if: ${{ failure() }}
0 commit comments