Skip to content

run fuzzing on ci

run fuzzing on ci #5

Workflow file for this run

permissions:
contents: read
on:
push:
branches: [main]
pull_request:
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: fuzz
jobs:
required:
runs-on: ubuntu-latest
name: ubuntu / nightly
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install nightly
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
targets: x86_64-unknown-linux-gnu
- name: Install latest nightly and set it as default
run: |
rustup install nightly
rustup default nightly
- name: cargo install cargo-fuzz
uses: taiki-e/install-action@v2
with:
tool: cargo-fuzz
- name: cargo fuzz run deserialize -- -max_total_time=5
run: cargo fuzz run deserialize -- -max_total_time=5