Skip to content

Bump clap from 4.5.22 to 4.5.23 in the nonbreaking group #391

Bump clap from 4.5.22 to 4.5.23 in the nonbreaking group

Bump clap from 4.5.22 to 4.5.23 in the nonbreaking group #391

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