Skip to content

fixes

fixes #483

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
targets: wasm32v1-none
- name: Cache cargo
uses: Swatinem/rust-cache@v2
- name: Check code formatting
run: cargo fmt --all -- --check
- name: Run clippy linter
run: cargo clippy --workspace --all-features -- -D warnings
- name: Build WASM (release)
run: cargo build --target wasm32v1-none --release
- name: Run unit tests
run: cargo test --workspace --lib
- name: Run integration tests
run: cargo test --workspace --test cross_chain_integration