Skip to content

Commit

Permalink
Run cosmwasm-check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 authored and aumetra committed Mar 26, 2024
1 parent 8a30e33 commit 349dfb4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ commands:
- run:
name: Build wasm binary
command: cargo wasm --locked
# After wasm build to ensure target/wasm32-unknown-unknown/release/<contract>.wasm exists
- run:
name: Run cosmwasm-check (2.0)
command: |
cargo install cosmwasm-check@~2.0 --locked
cosmwasm-check --version
cosmwasm-check target/wasm32-unknown-unknown/release/*.wasm
- run:
name: Run cosmwasm-check (1.4)
command: |
cargo install cosmwasm-check@~1.4 --locked
cosmwasm-check --version
cosmwasm-check target/wasm32-unknown-unknown/release/*.wasm
# Run clippy after wasm build to ensure target/wasm32-unknown-unknown/release/<contract>.wasm exists
- run:
name: Clippy
command: cargo clippy --all-targets -- -D warnings
Expand Down

0 comments on commit 349dfb4

Please sign in to comment.