From fa4e5131fb48b85a610e7f2909b569915e9f2ac9 Mon Sep 17 00:00:00 2001 From: Andronik Ordian Date: Sat, 18 Sep 2021 12:02:30 +0200 Subject: [PATCH] ci: cache seed in fuzzer job (#3885) * ci: cache seed in fuzzer job * change id based on binary --- polkadot/.github/workflows/honggfuzz.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/polkadot/.github/workflows/honggfuzz.yml b/polkadot/.github/workflows/honggfuzz.yml index af0de3eb50..ab1cdf0d2e 100644 --- a/polkadot/.github/workflows/honggfuzz.yml +++ b/polkadot/.github/workflows/honggfuzz.yml @@ -13,6 +13,13 @@ jobs: with: fetch-depth: 1 + - name: Cache Seed + id: cache-seed-round-trip + uses: actions/cache@v2 + with: + path: erasure-coding/fuzzer/hfuzz_workspace + key: ${{ runner.os }}-erasure-coding + - name: Install minimal stable Rust uses: actions-rs/toolchain@v1 with: @@ -52,6 +59,13 @@ jobs: with: fetch-depth: 1 + - name: Cache Seed + id: cache-seed-reconstruct + uses: actions/cache@v2 + with: + path: erasure-coding/fuzzer/hfuzz_workspace + key: ${{ runner.os }}-erasure-coding + - name: Install minimal stable Rust uses: actions-rs/toolchain@v1 with: