ci: make sure to not update lockfile as part of style checks (#10104) #110
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
name: Fuzz Master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_fuzzers: | |
name: Build Fuzzers | |
runs-on: "ubuntu-22.04-16core" | |
permissions: | |
contents: "read" | |
id-token: "write" | |
steps: | |
- id: "auth" | |
uses: "google-github-actions/auth@v1" | |
with: | |
workload_identity_provider: "projects/968400232856/locations/global/workloadIdentityPools/project-identity-pool/providers/github-provider" | |
service_account: "[email protected]" | |
- name: Installing nightly rust | |
run: | | |
rustup install nightly | |
rustup default nightly | |
- uses: baptiste0928/cargo-install@21a18ba3bf4a184d1804e8b759930d3471b1c941 | |
with: | |
crate: cargo-bolero | |
- run: rustup target add --toolchain nightly wasm32-unknown-unknown | |
- name: "Set up GCP SDK" | |
uses: "google-github-actions/setup-gcloud@v1" | |
with: | |
version: ">= 416.0.0" | |
- uses: actions/checkout@master | |
- name: "Compile fuzzers and upload to GCS" | |
run: | | |
NAME="nearcore-${{ github.ref_name }}-$(env TZ=Etc/UTC date +"%Y%m%d%H%M%S")" | |
cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz | |
gsutil cp -Z target/fuzz/clusterfuzz.tar "gs://fuzzer_targets/${{ github.ref_name }}/$NAME.tar.gz" |