ci: Don't run cargo update on the stable branch

This commit is contained in:
Sebastian Dröge 2023-02-11 20:15:46 +02:00
parent e901266415
commit 66453fdc02

View file

@ -96,13 +96,6 @@ trigger:
before_script: before_script:
- source ./ci/env.sh - source ./ci/env.sh
- mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config - mkdir .cargo && echo -e "[net]\ngit-fetch-with-cli = true" > .cargo/config
# If cargo exists assume we probably will want to update
# the lockfile
- |
if command -v cargo; then
cargo generate-lockfile --color=always
cargo update --color=always
fi
.debian:11-base: .debian:11-base:
extends: .debian:11 extends: .debian:11