mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
Build project with --locked on CI (#743)
* Add --locked to the cargo build * Remove trailing spaces * Update Cargo.lock
This commit is contained in:
committed by
Gav Wood
parent
b76660afd4
commit
56def2a38b
@@ -32,7 +32,7 @@ variables:
|
||||
when: on_success
|
||||
expire_in: 1 mos
|
||||
paths:
|
||||
- target/release/polkadot
|
||||
- target/release/polkadot
|
||||
|
||||
.determine_version: &determine_version |
|
||||
export VERSION=$(grep -m 1 "version =" Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n")
|
||||
@@ -50,9 +50,9 @@ test:rust:stable: &test
|
||||
- ./scripts/init.sh
|
||||
- export PATH="${CI_PROJECT_DIR}/cargo/bin/:$PATH"
|
||||
- ./scripts/build.sh
|
||||
- time cargo test --all --release
|
||||
- time cargo test --all --release --locked
|
||||
tags:
|
||||
- rust-stable
|
||||
- rust-stable
|
||||
|
||||
.optional_test: &optional_test
|
||||
<<: *test
|
||||
@@ -72,7 +72,7 @@ build:linux:ubuntu:amd64: &build
|
||||
script:
|
||||
- ./scripts/init.sh
|
||||
- export PATH="${CI_PROJECT_DIR}/cargo/bin/:$PATH"
|
||||
- ./scripts/build.sh
|
||||
- ./scripts/build.sh
|
||||
- cargo build --release
|
||||
<<: *collect_artifacts
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user