From 5c08a1131afc628a4dc3aae9a9fe728d591810d5 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Wed, 24 Jan 2024 09:46:30 +0900 Subject: [PATCH 1/2] fuzz: don't use rust nightly Signed-off-by: Anuraag Agrawal --- .github/workflows/commit.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index 0544d0a697..fece6dbf7c 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -196,8 +196,6 @@ jobs: internal/integration_test/fuzz/fuzz/corpus key: build-fuzzer-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum', 'Makefile', '**/Cargo.lock', '**/Cargo.toml', '**/*.rs') }} - # Fuzzer requires nightly rustc. - - run: rustup default nightly - run: cargo install cargo-fuzz if: steps.cache.outputs.cache-hit != 'true' # Run fuzzing only for a minute, not a full-length intensive one, but 60 seconds seems enough to find minor "front-end" From ce44f6ccc101265338f47386cc9f2772683bb224 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Wed, 24 Jan 2024 09:59:41 +0900 Subject: [PATCH 2/2] change cache key Signed-off-by: Anuraag Agrawal --- .github/workflows/commit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index fece6dbf7c..76310aa57a 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -194,7 +194,7 @@ jobs: internal/integration_test/fuzz/target internal/integration_test/fuzz/fuzz/artifacts internal/integration_test/fuzz/fuzz/corpus - key: build-fuzzer-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum', 'Makefile', '**/Cargo.lock', '**/Cargo.toml', '**/*.rs') }} + key: build-fuzz-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum', 'Makefile', '**/Cargo.lock', '**/Cargo.toml', '**/*.rs') }} - run: cargo install cargo-fuzz if: steps.cache.outputs.cache-hit != 'true'