Skip to content

Fix bug when switching between two contracts in the "Interact" tab #17

Fix bug when switching between two contracts in the "Interact" tab

Fix bug when switching between two contracts in the "Interact" tab #17

Workflow file for this run

name: (ci/cd) Rust Checks
on:
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- run: cd api && cargo build --all
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
- run: cd api && cargo +nightly fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: clippy
- run: cd api && cargo clippy --all -- -D warnings
taplo:
name: Taplo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: baptiste0928/cargo-install@v3
with:
crate: taplo-cli
version: "0.9.0"
locked: true
- run: taplo format --check --diff 1>&2
machete:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Detect unused dependencies with Machete
uses: bnjbvr/cargo-machete@main