Skip to content

Commit 3b47367

Browse files
authored
chore(target_chains/near): build with --locked in test (#2365)
1 parent de72a97 commit 3b47367

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

target_chains/near/receiver/workspace-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ set -euo pipefail
99
# Setup rust to build wasm.
1010
rustup target add wasm32-unknown-unknown
1111

12-
cargo build --release --target wasm32-unknown-unknown
12+
cargo build --release --target wasm32-unknown-unknown --locked
1313
cp target/wasm32-unknown-unknown/release/pyth_near.wasm .
1414

1515
(
1616
cd ../wormhole-stub
17-
cargo build --release --target wasm32-unknown-unknown
17+
cargo build --release --target wasm32-unknown-unknown --locked
1818
cp target/wasm32-unknown-unknown/release/wormhole_stub.wasm ../receiver
1919
)
2020

21-
RUST_LOG=info cargo test
21+
RUST_LOG=info cargo test --locked

0 commit comments

Comments
 (0)