Skip to content

Commit

Permalink
ci: use cosmwasm-check v1.3.x for consistency with wasmvm version (#534)
Browse files Browse the repository at this point in the history
Co-authored-by: Christian Gorenflo <[email protected]>
  • Loading branch information
milapsheth and cgorenflo authored Jul 24, 2024
1 parent 216f153 commit 7e27cb7
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,18 @@ jobs:
profile: minimal
toolchain: 1.78.0
target: wasm32-unknown-unknown
default: true
override: true

- name: Install cosmwasm-check compatible toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.75.0
target: wasm32-unknown-unknown
default: false
override: false

- name: Cache build artifacts
id: cache
uses: useblacksmith/[email protected]
Expand All @@ -79,11 +89,14 @@ jobs:
(cd $C && cargo build --release --lib --target wasm32-unknown-unknown --locked)
done
# cosmwasm-check v1.3.x is used to check for compatibility with wasmvm v1.3.x used by Axelar
# Older rust toolchain is required to install cosmwasm-check v1.3.x
- name: Install cosmwasm-check
uses: actions-rs/cargo@v1
with:
command: install
args: --version 1.5.5 --locked cosmwasm-check
toolchain: 1.75.0
args: --version 1.3.4 --locked cosmwasm-check

- name: Check wasm contracts
run: cosmwasm-check ./target/wasm32-unknown-unknown/release/*.wasm
Expand Down

0 comments on commit 7e27cb7

Please sign in to comment.