Skip to content

Commit ed31c7f

Browse files
committed
CI: update fuzzer cache after each run
1 parent fb46e6d commit ed31c7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ jobs:
108108
id: cache-corpus
109109
with:
110110
path: fuzz/corpus/${{ matrix.target }}
111-
key: fuzz-${{ matrix.target }}
111+
key: fuzz-${{ matrix.target }}-${{ github.run_id }}
112+
restore-keys: |
113+
fuzz-${{ matrix.target }}
112114
- uses: Swatinem/rust-cache@v2
113115
- run: cargo install cargo-fuzz || true
114116
- run: python3 build_corpus.py

0 commit comments

Comments
 (0)