-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use cosmwasm-check v1.3.x for consistency with wasmvm version (#534)
Co-authored-by: Christian Gorenflo <[email protected]>
- Loading branch information
1 parent
216f153
commit 7e27cb7
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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 | ||
|