build(deps): Bump thiserror from 1.0.59 to 1.0.63 #730
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/get-diff-action@v6.1.0 | |
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 | |