Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Invoke cargo build commands with --locked (#2444)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mira Ressel committed Apr 12, 2023
1 parent 5a0ebad commit 030db02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/ci/gitlab/pipeline/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ build-test-parachain:
echo "_____Running cargo check for ${directory} ______";
cd ${directory};
pwd;
SKIP_WASM_BUILD=1 cargo check;
SKIP_WASM_BUILD=1 cargo check --locked;
cd ..;
done

Expand Down
8 changes: 4 additions & 4 deletions scripts/ci/gitlab/pipeline/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ check-runtime-benchmarks:
- .common-refs
script:
# Check that the node will compile with `runtime-benchmarks` feature flag.
- time cargo check --all --features runtime-benchmarks
- time cargo check --locked --all --features runtime-benchmarks
# Check that parachain-template will compile with `runtime-benchmarks` feature flag.
- time cargo check -p parachain-template-node --features runtime-benchmarks
- time cargo check --locked -p parachain-template-node --features runtime-benchmarks

cargo-check-try-runtime:
stage: test
Expand All @@ -71,9 +71,9 @@ cargo-check-try-runtime:
artifacts: false
script:
# Check that the node will compile with `try-runtime` feature flag.
- time cargo check --all --features try-runtime
- time cargo check --locked --all --features try-runtime
# Check that parachain-template will compile with `try-runtime` feature flag.
- time cargo check -p parachain-template-node --features try-runtime
- time cargo check --locked -p parachain-template-node --features try-runtime

check-rustdoc:
stage: test
Expand Down

0 comments on commit 030db02

Please sign in to comment.