| 1 | name: Nightly Fuzzing |
| 2 | |
| 3 | on: |
| 4 | schedule: |
| 5 | - cron: '0 2 * * *' # every day at 2:00 UTC |
| 6 | workflow_dispatch: |
| 7 | |
| 8 | jobs: |
| 9 | fuzz_reader: |
| 10 | name: Fuzzing Reader |
| 11 | runs-on: ubuntu-latest |
| 12 | steps: |
| 13 | - uses: actions/checkout@v4 |
| 14 | - uses: dtolnay/rust-toolchain@nightly |
| 15 | - run: cargo install cargo-fuzz |
| 16 | - run: cargo fuzz run safe_read --no-default-features -- -max_total_time=300 -max_len=512000 |
| 17 | - run: cargo fuzz run safe_read_create --no-default-features -- -max_total_time=300 -max_len=512000 |