Skip to content

Commit ab65546

Browse files
authored
Improve fuzzing CI caching (#674)
* cache fuzz/taget directory * make fuzz output verbose
1 parent 76c2dba commit ab65546

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ jobs:
214214
~/.cargo/registry/cache/
215215
~/.cargo/git/db/
216216
target/
217+
fuzz/target/
217218
key: ${{ runner.os }}-cargo-fuzz-${{ hashFiles('**/Cargo.lock') }}
218219
restore-keys: ${{ runner.os }}-cargo-fuzz-
219220
- name: Checkout Submodules
@@ -227,12 +228,12 @@ jobs:
227228
uses: actions-rs/cargo@v1
228229
with:
229230
command: fuzz
230-
args: run translate -j 2 -- -max_total_time=60 # 1 minute of fuzzing
231+
args: run translate -j 2 --verbose -- -max_total_time=60 # 1 minute of fuzzing
231232
- name: Fuzz Translate (metered)
232233
uses: actions-rs/cargo@v1
233234
with:
234235
command: fuzz
235-
args: run translate -j 2 -- -max_total_time=60 # 1 minute of fuzzing
236+
args: run translate -j 2 --verbose -- -max_total_time=60 # 1 minute of fuzzing
236237

237238
miri:
238239
name: Miri

0 commit comments

Comments
 (0)