summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2023-07-07 11:42:55 +0200
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2023-07-07 12:38:12 +0200
commit4475db07eb5d9a1f3c2c72f001f3496dfdac140b (patch)
tree80a0682efa5abb3ed656188cb2636002c6cd09b3
parent60d6708a23621d7c886e9e61560df31895b96842 (diff)
CI: Install critcmp with the version of dependencies in its Cargo.lock.
- It avoids the issue of pulling newer dependencies that may not work with the version of Rust compiler used in the image.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9b0da9d..e2ebd154 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -145,7 +145,7 @@ benchmarks:
- schedules
before_script:
- *before_script_start
- - cargo install critcmp
+ - cargo install --locked critcmp
- *before_script_end
script:
- cargo bench -- --color always --save-baseline $CI_COMMIT_SHA