ci: run fuzz for main, dev #1
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: | |
branches: [ main, dev ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
fuzz: | |
name: Fuzz Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Install nightly rust toolchain | |
uses: dtolnay/rust-toolchain@nightly | |
- name: Install cargo-fuzz | |
run: cargo install cargo-fuzz | |
- name: Fuzz TelnetParser receive | |
# Run the fuzzer for 60 seconds before giving up. | |
run: cargo fuzz run receive -- -max_total_time=60 |