Adds --locked to cargo install in CI

This commit is contained in:
Tarik Eshaq 2024-02-08 15:29:32 -05:00
parent f87293cc38
commit 59af44cdb2
No known key found for this signature in database
GPG Key ID: 8BFB99D631362343

View File

@ -18,7 +18,7 @@ commands:
name: Setup Rust checks
command: |
rustup component add rustfmt
cargo install cargo-audit
cargo install --locked cargo-audit
rustup component add clippy
setup-python:
steps:
@ -140,7 +140,7 @@ commands:
- run:
name: Install sccache
command: |
cargo install sccache
cargo install --locked sccache
# This configures Rust to use sccache.
echo 'export "RUSTC_WRAPPER"="sccache"' >> $BASH_ENV
# This is the maximum space sccache cache will use on disk.