Support spec recommended additional fee API #270
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
name: Test and Build | |
on: [push, pull_request] | |
jobs: | |
test-lib: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [stable, nightly] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Swatinem/rust-cache@v1.2.0 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --verbose --all-features --lib --manifest-path payjoin/Cargo.toml | |
build-payjoin-cli: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [stable, nightly] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Swatinem/rust-cache@v1.2.0 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- run: cd payjoin-cli | |
- name: build payjoin example | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --manifest-path payjoin-cli/Cargo.toml | |
fmt: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
rust: [nightly] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Swatinem/rust-cache@v1.2.0 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu | |
- run: cargo fmt --all -- --check |