ci: download musl std for fuzzer #19
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: [push, pull_request] | |
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: | | |
rustup target add x86_64-unknown-linux-musl | |
cargo +nightly fuzz run semver -- -only_ascii=1 -max_total_time=120 -max_len=30 |