Skip to content

feat: create-swap wizard modal + Devices UX improvements #21

feat: create-swap wizard modal + Devices UX improvements

feat: create-swap wizard modal + Devices UX improvements #21

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.94.1"
components: rustfmt, clippy, llvm-tools-preview
- name: Cache cargo registry and build artifacts
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Check formatting
run: cargo fmt --check
- name: Build
run: cargo build
- name: Clippy (deny warnings)
run: cargo clippy -- -D warnings
- name: Tests
run: cargo test
- uses: taiki-e/install-action@cargo-llvm-cov
- name: Coverage
run: cargo llvm-cov --ignore-filename-regex "src/(main|tui|ui/.*)" --fail-under-lines 70