succeed if rustfmt isn't available
This commit is contained in:
parent
1b942bae33
commit
b9e2003d2e
1 changed files with 3 additions and 3 deletions
|
@ -42,9 +42,9 @@ jobs:
|
|||
- restore_cache:
|
||||
keys:
|
||||
- v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
|
||||
# - run:
|
||||
# name: Check format
|
||||
# command: rustup component add rustfmt; cargo fmt --all -- --check
|
||||
- run:
|
||||
name: Check format if rustfmt is available
|
||||
command: if rustup component add rustfmt; then cargo fmt --all -- --check; else true; fi
|
||||
- run:
|
||||
name: Install libsnark prerequisites
|
||||
command: ./scripts/install_libsnark_prerequisites.sh
|
||||
|
|
Loading…
Reference in a new issue