Use taiki-e/install-action to install cargo fuzz (#4928)

* Use taiki-e/install-action to install cargo fuzz

The cargo fuzz run seems to sometimes fail for unclear reasons (https://github.com/charliermarsh/ruff/actions/runs/5200348677/jobs/9379742606?pr=4900). I hope that this might fix it. I'll push more commits to this PR to check the caching behaviour.

* Trigger CI with cache

* Change cache

* Actually use caching

* Undo cargo update

* cargo update fuzzer

* Revert rust changes
This commit is contained in:
konstin
2023-06-07 17:57:33 +02:00
committed by GitHub
parent bcf745c5ba
commit 5c48414093
2 changed files with 34 additions and 31 deletions

View File

@@ -95,9 +95,12 @@ jobs:
- name: "Install Rust toolchain"
run: rustup show
- uses: Swatinem/rust-cache@v2
- name: "Install cargo-binstall"
uses: taiki-e/install-action@cargo-binstall
- run: cargo binstall cargo-fuzz -y
with:
workspaces: "fuzz -> target"
- name: "Install cargo-fuzz"
uses: taiki-e/install-action@v2
with:
tool: cargo-fuzz@0.11
- run: cargo fuzz build -s none
cargo-test-wasm: