Skip to content

Simplify withdrawals logic #34

Simplify withdrawals logic

Simplify withdrawals logic #34

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
components: clippy

Check failure on line 23 in .github/workflows/cI.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cI.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo clippy --workspace --all-targets --all-features
env:
RUSTFLAGS: -Dwarnings
rustfmt:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
components: rustfmt
- run: cargo fmt --all --check
test:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo test --workspace