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