Remap polymesh_common_utilities::traits to polymesh_primitives. #53
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: Cargo Build for Web | |
on: | |
push: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: Rust project - latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- nightly | |
platform: | |
- name: Wasm32 | |
os: ubuntu-20.04 | |
target: wasm32-unknown-unknown | |
runs-on: ${{ matrix.platform.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
run: | | |
rustup update ${{ matrix.toolchain }} | |
rustup default ${{ matrix.toolchain }} | |
rustup target add ${{ matrix.platform.target }} | |
- name: check Wasm | |
run: cargo check --target ${{ matrix.platform.target }} --no-default-features --features wasm,serde --target wasm32-unknown-unknown |