Upgrade GitHub actions to v4. #200
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
on: [push, pull_request] | |
name: Build fuzz targets on nightly toolchain | |
jobs: | |
build_fuzzing: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: "-D warnings" | |
CARGO_UNSTABLE_SPARSE_REGISTRY: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Install cargo fuzz | |
run: cargo install cargo-fuzz --verbose | |
- name: Build fuzz targets | |
run: cargo fuzz build --verbose |