feat: get out going invoice #2
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 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-msrv: | |
name: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- version: 1.63.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
target | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }} | |
- name: Set default toolchain | |
run: rustup default ${{ matrix.rust.version }} | |
- name: Fixes for MSRV | |
run: | | |
cargo update | |
cargo update -p tokio --precise 1.38.1 | |
cargo update -p reqwest --precise 0.12.4 | |
- name: Set profile | |
run: rustup set profile minimal && rustup component add clippy | |
- name: Build | |
run: cargo build |