Skip to content

BOLT12 hold invoices #88

BOLT12 hold invoices

BOLT12 hold invoices #88

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest]
python-version: ["3.10"]
rust-version: [stable, nightly]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install build dependencies
run: sudo apt-get update && sudo apt-get -y install protobuf-compiler libsqlite3-dev
- name: Use Rust toolchain
run: rustup update ${{ matrix.rust-version }} && rustup default ${{ matrix.rust-version }}
- name: Install rustfmt
run: rustup component add rustfmt
- name: Install clippy
run: rustup component add clippy
- name: Compile
run: cargo build
- name: Format
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Unit tests
run: cargo test
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install Python dependencies
run: make python-install
- name: Python lint
run: make python-lint
- name: Python formatting
run: uv run ruff format --check
working-directory: ./tests-regtest
- name: Regtest startup
run: make regtest-start
- name: Integration tests
run: make integration-tests