Fuzz #829
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Fuzz | |
"on": | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
bytes: | |
name: Fuzz bytes | |
runs-on: ubuntu-latest | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install Rust toolchain | |
uses: artichoke/setup-rust/[email protected] | |
with: | |
toolchain: nightly | |
- name: Install cargo-fuzz | |
run: cargo install cargo-fuzz | |
- name: Fuzz | |
run: cargo fuzz run bytes -- -max_total_time=1800 # 30 minutes | |
string: | |
name: Fuzz string | |
runs-on: ubuntu-latest | |
env: | |
RUST_BACKTRACE: 1 | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install Rust toolchain | |
uses: artichoke/setup-rust/[email protected] | |
with: | |
toolchain: nightly | |
- name: Install cargo-fuzz | |
run: cargo install cargo-fuzz | |
- name: Fuzz | |
run: cargo fuzz run string -- -max_total_time=1800 # 30 minutes |