Skip to content

Bump the nonbreaking group across 1 directory with 10 updates (#811) #287

Bump the nonbreaking group across 1 directory with 10 updates (#811)

Bump the nonbreaking group across 1 directory with 10 updates (#811) #287

Workflow file for this run

# Smoke test to build fuzz targets.
# Deserves its own action given that it depends on nightly
# and there's currently no way to define multiple toolchains through the
# `rust-toolchain.toml` configuration file.
name: Build Fuzz Targets
on:
push:
branches:
- main
pull_request:
jobs:
check-fuzz:
name: Build fuzz targets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read pinned nightly version
id: nightly_version
shell: bash
run: |
NIGHTLY_VERSION=$(cat pinned-nightly-version)
echo "nightly_version=$NIGHTLY_VERSION" >> "$GITHUB_OUTPUT"
- name: Read cargo fuzz version
id: cargo_fuzz_version
shell: bash
run: |
CARGO_FUZZ_VERSION=$(cat pinned-cargo-fuzz-version)
echo "cargo_fuzz_version=$CARGO_FUZZ_VERSION" >> "$GITHUB_OUTPUT"
- name: Install nightly
run: |
rustup install ${{ steps.nightly_version.outputs.nightly_version }}
rustup override set ${{ steps.nightly_version.outputs.nightly_version }}
rustup component add clippy
- name: Install cargo fuzz
run: cargo install cargo-fuzz --version=${{ steps.cargo_fuzz_version.outputs.cargo_fuzz_version }}
- name: Build fuzz targets
run: cargo fuzz build --dev