spawn-lnd 0.1.0

Docker-backed Bitcoin Core and LND regtest clusters for Rust integration tests
Documentation
name: CI

on:
  pull_request:
  push:
    branches:
      - main
      - master

jobs:
  test:
    name: test
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
      - uses: actions/checkout@v6
      - uses: dtolnay/rust-toolchain@stable
      - uses: Swatinem/rust-cache@v2
      - run: cargo fmt --check
      - run: cargo check
      - run: cargo clippy --all-targets -- -D warnings
      - run: RUSTDOCFLAGS='-D warnings' cargo doc --no-deps
      - run: cargo test
      - run: docker version
      - run: RUN_DOCKER_TESTS=1 cargo test --test docker_smoke -- --nocapture
      - run: RUN_DOCKER_TESTS=1 cargo test --test bitcoind_smoke -- --nocapture
      - run: RUN_DOCKER_TESTS=1 cargo test --test lnd_smoke -- --nocapture
      - run: RUN_DOCKER_TESTS=1 cargo test --test cluster_smoke -- --nocapture
      - run: RUN_DOCKER_TESTS=1 cargo test --test channel_smoke -- --nocapture
      - run: RUN_DOCKER_TESTS=1 cargo test --test e2e_smoke -- --nocapture
      - run: RUN_DOCKER_TESTS=1 cargo test --test startup_failure_smoke -- --nocapture
      - if: always()
        run: docker ps -a --filter label=spawn-lnd=true