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 - name: linux-gnu
image: rust:latest image: rust:latest
commands: commands:
- cargo test -j3 - cargo test --locked -j3
#- name: linux-musl #- name: linux-musl
# image: rust:alpine # image: rust:alpine
# commands: # commands:

View File

@ -19,12 +19,12 @@ stages:
build: build:
stage: build stage: build
script: script:
- cargo build --verbose - cargo build --verbose --locked
cargo-test: cargo-test:
stage: test stage: test
script: script:
cargo test --verbose cargo test --verbose --locked
clippy: clippy:
stage: test stage: test