mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +00:00
ci: Remove unnecessary --force from cargo install
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1491>
This commit is contained in:
parent
6c5ceca804
commit
ae120b300f
1 changed files with 7 additions and 7 deletions
|
@ -26,22 +26,22 @@ if [ "$RUST_IMAGE_FULL" = "1" ]; then
|
||||||
rustup component add clippy-preview
|
rustup component add clippy-preview
|
||||||
rustup component add rustfmt
|
rustup component add rustfmt
|
||||||
|
|
||||||
cargo install --locked --force cargo-deny
|
cargo install --locked cargo-deny
|
||||||
if [ "$RUST_VERSION" = "1.71.1" ]; then
|
if [ "$RUST_VERSION" = "1.71.1" ]; then
|
||||||
cargo install --locked --force cargo-outdated
|
cargo install --locked cargo-outdated
|
||||||
else
|
else
|
||||||
# Don't use --locked because time-0.3.30 does not build with 1.80 or newer
|
# Don't use --locked because time-0.3.30 does not build with 1.80 or newer
|
||||||
cargo install --force cargo-outdated
|
cargo install cargo-outdated
|
||||||
fi
|
fi
|
||||||
cargo install --locked --force typos-cli --version "1.19.0"
|
cargo install --locked typos-cli --version "1.19.0"
|
||||||
|
|
||||||
# Coverage tools
|
# Coverage tools
|
||||||
rustup component add llvm-tools-preview
|
rustup component add llvm-tools-preview
|
||||||
if [ "$RUST_VERSION" = "1.71.1" ]; then
|
if [ "$RUST_VERSION" = "1.71.1" ]; then
|
||||||
cargo install --locked --force grcov
|
cargo install --locked grcov
|
||||||
else
|
else
|
||||||
# Don't use --locked because time-0.3.30 does not build with 1.80 or newer
|
# Don't use --locked because time-0.3.30 does not build with 1.80 or newer
|
||||||
cargo install --force grcov
|
cargo install grcov
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -55,5 +55,5 @@ if [ "$RUST_VERSION" = "nightly" ]; then
|
||||||
rustup component add rustfmt --toolchain nightly
|
rustup component add rustfmt --toolchain nightly
|
||||||
|
|
||||||
# Documentation tools
|
# Documentation tools
|
||||||
cargo install --locked --force rustdoc-stripper
|
cargo install --locked rustdoc-stripper
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue