Skip to content

doc: fix typos in CONTRIBUTING.md (#9624) #1

doc: fix typos in CONTRIBUTING.md (#9624)

doc: fix typos in CONTRIBUTING.md (#9624) #1

name: Build fuzz targets from master
on:
push:
branches:
- master
jobs:
build_fuzzers:
runs-on: "ubuntu-20.04"
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: "near-fuzzer-service-account@near-fuzzer.iam.gserviceaccount.com"
- name: Installing nightly rust
run: |
rustup install nightly
rustup default nightly
- name: Set swap to 10G
shell: bash
run: |
export SWAP_FILE=$(swapon --show=NAME | tail -n 1)
sudo swapoff $SWAP_FILE
sudo rm $SWAP_FILE
sudo fallocate -l 10G $SWAP_FILE
sudo chmod 600 $SWAP_FILE
sudo mkswap $SWAP_FILE
sudo swapon $SWAP_FILE
- name: Install cargo fuzz subcommand crate
run: cargo install cargo-fuzz
- 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
- run: pip install -r scripts/build_fuzzers_requirements.txt
- run: python3 scripts/build_fuzzers.py ${{ github.ref_name }}