Skip to content

Payment management improvements (extend deposit) (#176) #548

Payment management improvements (extend deposit) (#176)

Payment management improvements (extend deposit) (#176) #548

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
- release/*
env:
CARGO_TERM_COLOR: always
rust_stable: 1.71.1
jobs:
build:
name: Build
env:
RUSTFLAGS: "-D warnings -C opt-level=z -C target-cpu=native -C debuginfo=1"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Rust ${{ env.rust_stable }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.rust_stable }}
- name: Cache cargo registry
uses: actions/cache@v1
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache cargo index
uses: actions/cache@v1
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-index-
- name: Cache cargo build
uses: actions/cache@v1
with:
path: target
key: ${{ runner.os }}-cargo-build-target1-${{ hashFiles('**/Cargo.lock') }}
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
- name: cargo test cli
uses: actions-rs/cargo@v1
with:
command: test
args: --features cli
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --workspace