Skip to content

feat: cashu

feat: cashu #5

Workflow file for this run

name: Tests
on:
pull_request:
workflow_dispatch:
jobs:
rust_tests:
name: Rust Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
override: true
profile: minimal
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: cargo-${{ runner.os }}-rust-tests-${{ hashFiles('**/Cargo.toml') }}
restore-keys: |
cargo-${{ runner.os }}-rust-tests-
cargo-${{ runner.os }}-
- name: Check formatting
run: cargo fmt --check
- name: Check clippy
run: ./ci/check-lint.sh
- name: Run tests
run: cargo test --features _test-utils