From 9aadb18186c0804f6cc6179bf8ea993337dc669d Mon Sep 17 00:00:00 2001 From: Nathaniel Brough Date: Tue, 5 Dec 2023 10:26:58 -0800 Subject: Add simple fuzz testing (#2581) --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 366ceab7..c691869e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,3 +35,15 @@ jobs: - uses: dtolnay/rust-toolchain@1.70.0 - uses: Swatinem/rust-cache@v2 - run: cargo check --workspace + + fuzz: + name: Check fuzzers + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly-2023-09-13 + - uses: Swatinem/rust-cache@v2 + - run: cargo install cargo-fuzz + - run: cd tests/fuzz && cargo fuzz build --dev -- cgit v1.2.3