Merge pull request #35 from Laina-Protocol/feat/deposit-amount-modal #161
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Rust: Build & test" | |
on: | |
push: | |
branches: | |
- "**" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-rust: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Build | |
run: make build | |
# - name: Run tests | |
# env: | |
# RUST_BACKTRACE: 1 | |
# run: cargo test --verbose | |
- name: Run clippy | |
run: cargo clippy -- -D warnings |