Skip to content

build(deps): Bump regex from 1.10.3 to 1.10.6 #732

build(deps): Bump regex from 1.10.3 to 1.10.6

build(deps): Bump regex from 1.10.3 to 1.10.6 #732

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