Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit f785c64

Browse files
committed
Switch to cosmwasm-check in CI
1 parent 5e15380 commit f785c64

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.circleci/config.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -545,22 +545,17 @@ jobs:
545545
(cd $C && cargo build --release --target wasm32-unknown-unknown --locked)
546546
done
547547
- run:
548-
name: Install check_contract
548+
name: Install cosmwasm-check
549549
# Uses --debug for compilation speed.
550-
command: cargo install --debug --features iterator --example check_contract --version 1.0.0 -- cosmwasm-vm
550+
command: cargo install --debug --version 1.1.5 cosmwasm-check
551551
- save_cache:
552552
paths:
553553
- /usr/local/cargo/registry
554554
- target
555555
key: cargocache-wasm-rust:1.66.0-{{ checksum "~/project/Cargo.lock" }}
556556
- run:
557557
name: Check wasm contracts
558-
command: |
559-
for W in ./target/wasm32-unknown-unknown/release/*.wasm
560-
do
561-
echo -n "Checking $(basename $W) ... "
562-
check_contract --supported-features iterator,staking,stargate,tgrade $W
563-
done
558+
command: cosmwasm-check --supported-features iterator,staking,stargate,tgrade ./target/wasm32-unknown-unknown/release/*.wasm
564559

565560
# This job roughly follows the instructions from https://circleci.com/blog/publishing-to-github-releases-via-circleci/
566561
build_and_upload_contracts:

0 commit comments

Comments
 (0)