Skip to content

add define_withdraw_balance #420

add define_withdraw_balance

add define_withdraw_balance #420

Workflow file for this run

name: Check examples
on:
pull_request:
push:
branches:
- main
env:
RUST_VERSION: 1.79.0
jobs:
check-compilable:
strategy:
matrix:
pj_root: [minimum_canisters, minimum_indexers]
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v3
- name: Cache Cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_VERSION }}-example-canisters
- name: Install Rust
run: |
rustup update ${{ env.RUST_VERSION }} --no-self-update
rustup default ${{ env.RUST_VERSION }}
rustup target add wasm32-unknown-unknown
- name: Move to target example
run: cd chainsight-cdk-macros/examples/${{ matrix.pj_root }}
- name: Check compilable to WASM
run: cargo check --target wasm32-unknown-unknown --workspace