mirror of
https://github.com/guggero/chantools.git
synced 2026-08-17 13:07:40 +02:00
Updated versions:
- lnd: v0.17.4-beta -> v0.18.0-beta
- lnd/kvdb: v1.4.4 -> v1.4.8
- lnd/tor: v1.1.2 -> v1.1.3
- lnd/healthcheck: v1.2.3 -> v1.2.4
- lnd/tlv: v1.1.1 -> v1.2.6
- neutrino: v0.16.0 -> v0.16.1-0.20240425105051-602843d34ffd
- neutrino/cache: v1.1.1 -> v1.1.2
- lndclient: v0.17.4-1 -> v0.18.0-2
- loop: v0.26.6-beta -> v0.28.3
- loop/swapserverrpc: v1.0.5 -> v1.0.8
- pool: v0.6.2-beta.0.20230329135228-c3bffb52df3a ->
v0.6.5-beta.0.20240531084722-4000ec802aaa
- pool/auctioneerrpc: v1.0.7 -> v1.1.2
- aperture: v0.1.21-beta.0.20230705004936-87bb996a4030 -> v0.3.2-beta
- replace of protobuf: v1.30.0-hex-display -> v1.33.0-hex-display
- Go: 1.21 -> 1.22.3
Pool version v0.6.5-beta.0.20240531084722-4000ec802aaa was used because it uses
LND v0.18.0-beta, not v0.18.0-beta.rc3.
Fixed imports and API changes.
Updated Go version in README.
Updated LND version in cmd/chantools/root.go.
Ran `make docs`.
53 lines
996 B
YAML
53 lines
996 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
env:
|
|
# go needs absolute directories, using the $HOME variable doesn't work here.
|
|
GOCACHE: /home/runner/work/go/pkg/build
|
|
GOPATH: /home/runner/work/go
|
|
GO_VERSION: 1.22.3
|
|
|
|
jobs:
|
|
########################
|
|
# lint code
|
|
########################
|
|
lint:
|
|
name: lint code
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: git checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: lint
|
|
run: make lint
|
|
|
|
########################
|
|
# run unit tests
|
|
########################
|
|
unit-test:
|
|
name: run unit tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: git checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: setup go ${{ env.GO_VERSION }}
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '${{ env.GO_VERSION }}'
|
|
|
|
- name: run unit tests
|
|
run: make unit
|