Check whether given amount is feasible to spend or not. #729
Workflow file for this run
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: lint | |
jobs: | |
fmt: | |
name: rust fmt | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set default toolchain | |
run: rustup default nightly | |
- name: Set profile | |
run: rustup set profile minimal | |
- name: Add rustfmt | |
run: rustup component add rustfmt | |
- name: Add clippy | |
run: rustup component add clippy | |
- name: Install dependencies on macOS | |
if: matrix.os == 'macos-latest' | |
run: brew install automake libtool zeromq | |
- name: Update toolchain | |
run: rustup update | |
- name: Check fmt | |
run: cargo fmt --all -- --check | |
- name: Clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings |