use Cargo.lock w/ CI

This commit is contained in:
Lynne Megido 2021-04-26 21:01:09 +10:00
parent 0753c7c948
commit 475998fd22
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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