use Cargo.lock w/ CI
This commit is contained in:
parent
0753c7c948
commit
475998fd22
2 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue