@@ -21,15 +21,17 @@ jobs:
2121 runs-on : ubuntu-latest
2222 steps :
2323 - uses : actions/checkout@v4
24- - uses : dtolnay/rust-toolchain@nightly
2524 - name : Install `cargo-fuzz`
26- run : cargo install cargo-fuzz
25+ run : |
26+ echo "RUSTC_BOOTSTRAP=1" >> "${GITHUB_ENV}"
27+ echo "CARGO_INCREMENTAL=0" >> "${GITHUB_ENV}"
28+ cargo install cargo-fuzz --locked
2729 - uses : Swatinem/rust-cache@v2
2830 with :
2931 shared-key : " cargo-fuzz-cache-key"
3032 cache-directories : " fuzz/target"
3133 - name : Run `cargo-fuzz build`
32- run : cargo +nightly fuzz build
34+ run : cargo fuzz build
3335
3436 fuzz-run :
3537 needs : fuzz-build
4951 - { name: fuzz_side, should_pass: true }
5052 steps :
5153 - uses : actions/checkout@v4
52- - uses : dtolnay/rust-toolchain@nightly
5354 - name : Install `cargo-fuzz`
54- run : cargo install cargo-fuzz
55+ run : |
56+ echo "RUSTC_BOOTSTRAP=1" >> "${GITHUB_ENV}"
57+ echo "CARGO_INCREMENTAL=0" >> "${GITHUB_ENV}"
58+ cargo install cargo-fuzz --locked
5559 - uses : Swatinem/rust-cache@v2
5660 with :
5761 shared-key : " cargo-fuzz-cache-key"
6670 shell : bash
6771 continue-on-error : ${{ !matrix.test-target.name.should_pass }}
6872 run : |
69- cargo +nightly fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0
73+ cargo fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0
7074 - name : Save Corpus Cache
7175 uses : actions/cache/save@v5
7276 with :
0 commit comments