summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorNathaniel Brough <nathaniel.brough@gmail.com>2023-12-05 10:26:58 -0800
committerGitHub <noreply@github.com>2023-12-05 19:26:58 +0100
commit9aadb18186c0804f6cc6179bf8ea993337dc669d (patch)
tree95cc87193e1b9d1255b45894830ba98b372bde5f /.github/workflows
parent0ebce56b36ea2a875609949f4da81c9ca6a4a081 (diff)
Add simple fuzz testing (#2581)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 12 insertions, 0 deletions
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