From eba47f61664cdee1e9b6a644a5ce4c367585261e Mon Sep 17 00:00:00 2001 From: cijiugechu Date: Fri, 19 Jan 2024 21:54:59 +0800 Subject: [PATCH] ci: fuzzer --- .github/workflows/fuzz.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/fuzz.yml diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml new file mode 100644 index 0000000..0579099 --- /dev/null +++ b/.github/workflows/fuzz.yml @@ -0,0 +1,25 @@ +name: Fuzz + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * 0' # Run everyweek + +jobs: + fuzz: + name: Cargo Fuzz + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install cargo-fuzz + uses: taiki-e/install-action@v2 + with: + tool: cargo-fuzz + + - name: Nightly + run: rustup default nightly + + - name: Run Fuzzer + run: cargo +nightly fuzz run semver -- -only_ascii=1 -max_total_time=120 -max_len=30 \ No newline at end of file