From 475998fd220cf0a373be3bc46504bddce261a23f Mon Sep 17 00:00:00 2001 From: Lynne Date: Mon, 26 Apr 2021 21:01:09 +1000 Subject: [PATCH] use Cargo.lock w/ CI --- .drone.yml | 2 +- .gitlab-ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0324bc1..7e32897 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ steps: - name: linux-gnu image: rust:latest commands: - - cargo test -j3 + - cargo test --locked -j3 #- name: linux-musl # image: rust:alpine # commands: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5cf50be..983b022 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,12 +19,12 @@ stages: build: stage: build script: - - cargo build --verbose + - cargo build --verbose --locked cargo-test: stage: test script: - cargo test --verbose + cargo test --verbose --locked clippy: stage: test