name: Fuzz
on:
schedule:
- cron: '0 3 * * 1' workflow_dispatch:
permissions:
contents: read
env:
RUSTFLAGS: ""
jobs:
fuzz:
name: cargo-fuzz (${{ matrix.target }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- hash_fuzz
- kdf_fuzz
- mac_fuzz
- roundtrip_fuzz
- aead_fuzz
- session_fuzz
- temporal_fuzz
- eka_fuzz
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
workspaces: fuzz -> target
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Fuzz ${{ matrix.target }} (60s)
run: cargo fuzz run ${{ matrix.target }} -- -max_total_time=60