Skip to content

Feat/native asset & SAS Integretion #136

Feat/native asset & SAS Integretion

Feat/native asset & SAS Integretion #136

Workflow file for this run

name: Contract CI
on:
push:
branches: [ main, develop ]
paths:
- 'app/contract/**'
pull_request:
branches: [ main, develop ]
paths:
- 'app/contract/**'
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
defaults:
run:
working-directory: app/contract
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: wasm32-unknown-unknown
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: "app/contract"
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test