1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 22:42:48 +03:00

fix(ci): Use install action instead of manually calling cargo-install

This commit is contained in:
Jalil David Salamé Messina 2023-03-24 18:32:10 -03:00 committed by Wez Furlong
parent 2c6ec574c2
commit 51e87e8df5

View File

@ -53,11 +53,10 @@ jobs:
~/.cargo/git
target
key: "ubuntu-latest-termwiz-fuzz-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
- name: Install fuzzer
run: |
source $HOME/.cargo/env
cargo install cargo-fuzz
cd termwiz/fuzz
- name: "Install cargo-fuzz from Cargo"
uses: baptiste0928/cargo-install@v2
with:
crate: "cargo-fuzz"
- name: Fuzz
run: |
source $HOME/.cargo/env