Fixes cargo audit #843
Workflow file for this run
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: Cargo fuzz build | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build_fuzzing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
toolchain: nightly | |
submodules: "true" | |
- name: Install Rust toolchain | |
run: rustup show | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install Python dependencies | |
run: python -m pip install --upgrade pip setuptools wheel | |
- name: Set up OpenSK | |
run: ./setup.sh | |
- name: Set up fuzzing | |
run: ./fuzzing_setup.sh | |
- name: Cargo fuzz build | |
run: cd libraries/opensk && cargo +nightly fuzz build | |
- name: Cargo fuzz build (libraries/cbor) | |
run: cd libraries/cbor && cargo +nightly fuzz build | |
- name: Cargo fuzz build (libraries/persistent_store) | |
run: cd libraries/persistent_store && cargo +nightly fuzz build |