build(deps): Bump cosmwasm-schema from 1.5.3 to 2.1.1 #731
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
name: Chain interaction | |
on: | |
pull_request: | |
jobs: | |
chain_interaction: | |
name: Test interaction with chain | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v2 | |
- name: Verify .rs and toml files π | |
uses: technote-space/[email protected] | |
id: git_diff | |
with: | |
PATTERNS: | | |
**/**.rs | |
**/**.toml | |
**/Cargo.lock | |
FILES: | | |
Cargo.lock | |
- name: Setup Rust β | |
if: env.GIT_DIFF | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.71.1 | |
override: true | |
components: rustfmt, clippy | |
- name: Install cargo run script β | |
if: env.GIT_DIFF | |
run: cargo install cargo-run-script | |
- name: Precreate build dir β | |
if: env.GIT_DIFF | |
run: mkdir -p ./target/debug | |
- name: Build test contract β | |
if: env.GIT_DIFF | |
working-directory: ./contracts/test-contract | |
run: cargo optimize | |
- name: Checkout desmos source π | |
if: env.GIT_DIFF | |
uses: actions/checkout@v3 | |
with: | |
repository: desmos-labs/desmos | |
ref: v6.2.0 | |
path: ./desmos-src | |
- name: Build desmos chain β | |
if: env.GIT_DIFF | |
run: make build-alpine && mv build/desmos ../scripts/desmos | |
working-directory: ./desmos-src | |
- name: Run tests π§ͺ | |
if: env.GIT_DIFF | |
working-directory: ./packages/bindings-test | |
run: | | |
../../scripts/spawn_test_chain.sh -b | |
sleep 2 | |
../../scripts/upload_test_contract.sh | |
cargo run | |
../../scripts/setup_chain.sh | |
cargo test -- --test-threads=1 | |