Use stable toolchain for fuzzing

This commit is contained in:
Riccardo Casatta 2021-09-27 20:02:11 +02:00
parent 9b6b50a987
commit 2bbf63c7e0
No known key found for this signature in database
GPG Key ID: FD986A969E450397
1 changed files with 2 additions and 2 deletions

View File

@ -26,14 +26,14 @@ jobs:
key: cache-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
override: true
profile: minimal
- run: cargo install honggfuzz
if: steps.cache-fuzz.outputs.cache-hit != 'true'
- run: echo "HFUZZ_RUN_ARGS=\"--run_time 30 --exit_upon_crash -v -f hfuzz_input/${{ matrix.fuzz_target }}/input\"" >> $GITHUB_ENV
- name: fuzz
run: cd fuzz && cargo +nightly hfuzz run ${{ matrix.fuzz_target }}
run: cd fuzz && cargo hfuzz run ${{ matrix.fuzz_target }}
- run: echo "${{ matrix.fuzz_target }}.rs" >executed_${{ matrix.fuzz_target }}
- uses: actions/upload-artifact@v2
with: