Skip to content

Merge pull request #52 from KevinMB0220/feat/transfer-lock-escrow-lif… #32

Merge pull request #52 from KevinMB0220/feat/transfer-lock-escrow-lif…

Merge pull request #52 from KevinMB0220/feat/transfer-lock-escrow-lif… #32

Workflow file for this run

name: Smart Contracts CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache Cargo registry and build
uses: Swatinem/rust-cache@v2
with:
key: soroban-contracts
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Check formatting
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- -D warnings