Skip to content
Snippets Groups Projects
Commit 82589bde1524 authored by Georges Racinet's avatar Georges Racinet
Browse files

Rust: merging usage of Cargo --locked flag

No related branches found
Tags 0.44.1
1 merge request!219merge cargo --locked
Pipeline #75540 passed with warnings
......@@ -83,5 +83,6 @@
policy: pull-push
script:
- make -C rust dev-dependencies
- cargo build --locked --manifest-path rust/Cargo.toml
- cargo test --manifest-path rust/Cargo.toml
- rust/lint
......@@ -86,6 +87,5 @@
- cargo test --manifest-path rust/Cargo.toml
- rust/lint
- cargo build --manifest-path rust/Cargo.toml
artifacts:
expire_in: 1d
paths:
......
......@@ -35,7 +35,7 @@
rhgitaly_exe = env.get('RHGITALY_EXECUTABLE')
if rhgitaly_exe is None: # pragma no cover
subprocess.check_call(('cargo', 'build'),
subprocess.check_call(('cargo', 'build', '--locked'),
cwd=rhgitaly_dir)
run_cmd = ('cargo', 'run')
else: # pragma no cover
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment