From a511dd1b180a50da1ac5b9c62d408a401556d8d5 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 8 Jan 2024 15:21:01 +0000 Subject: [PATCH] ci: Add `cargo fuzz check` to GitHub actions See: #6085 Signed-off-by: Rob Bradford --- .github/workflows/fuzz-build.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fuzz-build.yaml b/.github/workflows/fuzz-build.yaml index e0412fc22..324e28203 100644 --- a/.github/workflows/fuzz-build.yaml +++ b/.github/workflows/fuzz-build.yaml @@ -12,6 +12,8 @@ jobs: - nightly target: - x86_64-unknown-linux-gnu + env: + RUSTFLAGS: -D warnings steps: - name: Code checkout uses: actions/checkout@v4 @@ -22,8 +24,8 @@ jobs: target: ${{ matrix.target }} override: true - name: Install Cargo fuzz - # Temporary fix for cargo-fuzz on latest nightly: https://github.com/rust-fuzz/cargo-fuzz/issues/276 - #run: cargo install cargo-fuzz - run: cargo install --git https://github.com/rust-fuzz/cargo-fuzz --rev b4df3e58f767b5cad8d1aa6753961003f56f3609 - - name: Cargo Fuzz Build + run: cargo install cargo-fuzz + - name: Fuzz Build run: cargo fuzz build + - name: Fuzz Check + run: cargo fuzz check