mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 13:01:05 +00:00
ci: Use cargo install --locked
to make sure to not use too new dependency versions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1368>
This commit is contained in:
parent
ea002e2e11
commit
b5f4246445
2 changed files with 7 additions and 7 deletions
|
@ -26,20 +26,20 @@ if [ "$RUST_IMAGE_FULL" = "1" ]; then
|
|||
rustup component add clippy-preview
|
||||
rustup component add rustfmt
|
||||
|
||||
cargo install --force cargo-deny
|
||||
cargo install --force cargo-outdated
|
||||
cargo install --force typos-cli
|
||||
cargo install --locked --force cargo-deny
|
||||
cargo install --locked --force cargo-outdated
|
||||
cargo install --locked --force typos-cli
|
||||
|
||||
# Coverage tools
|
||||
rustup component add llvm-tools-preview
|
||||
cargo install --force grcov
|
||||
cargo install --locked --force grcov
|
||||
fi
|
||||
|
||||
cargo install cargo-c --version 0.9.22+cargo-0.72
|
||||
cargo install --locked cargo-c --version 0.9.22+cargo-0.72
|
||||
|
||||
if [ "$RUST_VERSION" = "nightly" ]; then
|
||||
rustup component add rustfmt --toolchain nightly
|
||||
|
||||
# Documentation tools
|
||||
cargo install --force rustdoc-stripper
|
||||
cargo install --locked --force rustdoc-stripper
|
||||
fi
|
||||
|
|
|
@ -21,4 +21,4 @@ RUN C:\install_dav1d.ps1
|
|||
|
||||
RUN Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile C:\rustup-init.exe
|
||||
RUN C:\rustup-init.exe -y --profile minimal --default-toolchain $env:RUST_VERSION
|
||||
RUN cargo install cargo-c --version 0.9.22+cargo-0.72
|
||||
RUN cargo install --locked cargo-c --version 0.9.22+cargo-0.72
|
||||
|
|
Loading…
Reference in a new issue