Bump payjoin-ffi 0.21.2 #36
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: CI Checks | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
toolchain: [stable, nightly] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: Install Rust ${{ matrix.toolchain }} toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
override: true | |
profile: minimal | |
- name: Build on Rust ${{ matrix.toolchain }} | |
run: cargo build --color always --all-targets --features _danger-local-https | |
- name: Check formatting (nightly only) | |
if: matrix.rust == 'nightly' | |
run: rustup component add rustfmt && cargo fmt --all -- --check\ | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v4 | |
- name: "Install nightly toolchain" | |
uses: dtolnay/rust-toolchain@nightly | |
- name: "Use cache" | |
uses: Swatinem/rust-cache@v2 | |
- name: "Install clippy" | |
run: rustup component add clippy --toolchain nightly-x86_64-unknown-linux-gnu | |
- name: "Run linting" | |
run: cargo clippy --all-targets --keep-going --all-features -- -D warnings |