chore: use forked electrum lib (#331) #1480
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: | |
- master | |
pull_request: | |
jobs: | |
build: | |
name: CI | |
strategy: | |
matrix: | |
platform: [ ubuntu-latest ] | |
go-version: [ 1.23.x ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Build | |
run: make build | |
- name: Unit Tests | |
run: make unit | |
- name: Start Regtest | |
env: | |
COMPOSE_PROFILES: ci | |
run: make download-regtest && chmod -R 777 regtest && make start-regtest | |
- name: Backend logs | |
if: failure() | |
run: docker logs boltz-backend | |
- name: Integration Tests | |
run: make integration | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: "latest" |