Skip to content

Commit b11c959

Browse files
authored
Merge pull request #1028 from starius/downgrade-deps
go.mod: downgrade deps for litd release
2 parents 0a182ee + 7d58b65 commit b11c959

File tree

15 files changed

+37
-318
lines changed

15 files changed

+37
-318
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020

2121
# If you change this value, please change it in the following files as well:
2222
# /Dockerfile
23-
GO_VERSION: 1.24.6
23+
GO_VERSION: 1.23.12
2424

2525
jobs:
2626
########################
@@ -103,26 +103,6 @@ jobs:
103103
- name: lint
104104
run: make lint
105105

106-
########################
107-
# Verify documentation
108-
########################
109-
docs-check:
110-
name: verify that auto-generated documentation is up-to-date
111-
runs-on: ubuntu-latest
112-
steps:
113-
- name: git checkout
114-
uses: actions/checkout@v2
115-
with:
116-
fetch-depth: 0
117-
118-
- name: setup go ${{ env.GO_VERSION }}
119-
uses: actions/setup-go@v5
120-
with:
121-
go-version: '~${{ env.GO_VERSION }}'
122-
123-
- name: check
124-
run: make docs-check
125-
126106
########################
127107
# run unit tests
128108
########################

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: "2"
22
run:
3-
go: "1.24"
3+
go: "1.23"
44

55
# timeout for analysis
66
timeout: 4m

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${BUILDPLATFORM} golang:1.24.6-alpine as builder
1+
FROM --platform=${BUILDPLATFORM} golang:1.23.12-alpine as builder
22

33
# Copy in the local repository to build from.
44
COPY . /go/src/github.com/lightningnetwork/loop

Makefile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,6 @@ sqlc-check: sqlc
170170
@$(call print, "Verifying sql code generation.")
171171
if test -n "$$(git status --porcelain '*.go')"; then echo "SQL models not properly generated!"; git status --porcelain '*.go'; exit 1; fi
172172

173-
docs: build
174-
@$(call print, "Building man and markdown files in docs/")
175-
./loop-debug man > docs/loop.1
176-
./loop-debug markdown > docs/loop.md
177-
178-
docs-check: docs
179-
@$(call print, "Verifying man and markdown files in docs/")
180-
if test -n "$$(git status --porcelain 'docs/loop.*')"; then echo "Man and markdown files not properly generated!"; git diff; exit 1; fi
181-
182173
fsm:
183174
@$(call print, "Generating state machine docs")
184175
./scripts/fsm-generate.sh;

cmd/loop/docs.go

Lines changed: 0 additions & 152 deletions
This file was deleted.

cmd/loop/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ var (
9090
setLiquidityRuleCommand, suggestSwapCommand, setParamsCommand,
9191
getInfoCommand, abandonSwapCommand, reservationsCommands,
9292
instantOutCommand, listInstantOutsCommand,
93-
printManCommand, printMarkdownCommand,
9493
}
9594
)
9695

cmd/loop/markdown_tabular.md.gotmpl

Lines changed: 0 additions & 80 deletions
This file was deleted.

docs/release.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ for a release using the following commands:
6767
```bash
6868
$ go version
6969
go version go1.25.0 linux/amd64
70-
$ go install golang.org/dl/go1.24.6@latest
71-
$ go1.24.6 download
72-
Unpacking /home/user/sdk/go1.24.6/go1.24.6.linux-amd64.tar.gz ...
73-
Success. You may now run 'go1.24.6'
74-
$ go1.24.6 version
75-
go version go1.24.6 linux/amd64
76-
77-
$ GO_CMD=/home/user/go/bin/go1.24.6 ./release.sh v0.31.3
70+
$ go install golang.org/dl/go1.23.12@latest
71+
$ go1.23.12 download
72+
Unpacking /home/user/sdk/go1.23.12/go1.23.12.linux-amd64.tar.gz ...
73+
Success. You may now run 'go1.23.12'
74+
$ go1.23.12 version
75+
go version go1.23.12 linux/amd64
76+
77+
$ GO_CMD=/home/user/go/bin/go1.23.12 ./release.sh v0.31.5
7878
```
7979

8080
On MacOS, you will need to install GNU tar and GNU gzip, which can be done with

go.mod

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ require (
2020
github.com/jessevdk/go-flags v1.4.0
2121
github.com/lib/pq v1.10.9
2222
github.com/lightninglabs/aperture v0.3.13-beta
23-
github.com/lightninglabs/lndclient v0.20.0-1
23+
github.com/lightninglabs/lndclient v0.19.0-12
2424
github.com/lightninglabs/loop/looprpc v1.0.7
2525
github.com/lightninglabs/loop/swapserverrpc v1.0.14
26-
github.com/lightninglabs/taproot-assets v0.7.0-rc1.0.20251014172227-e6ae082c0b4b
27-
github.com/lightninglabs/taproot-assets/taprpc v1.0.10-0.20251014172227-e6ae082c0b4b
28-
github.com/lightningnetwork/lnd v0.20.0-beta.rc1
26+
github.com/lightninglabs/taproot-assets v0.6.1
27+
github.com/lightninglabs/taproot-assets/taprpc v1.0.8-0.20250716163904-2ef55ba74036
28+
github.com/lightningnetwork/lnd v0.19.3-beta
2929
github.com/lightningnetwork/lnd/cert v1.2.2
3030
github.com/lightningnetwork/lnd/clock v1.1.1
3131
github.com/lightningnetwork/lnd/queue v1.1.1
@@ -34,7 +34,6 @@ require (
3434
github.com/lightningnetwork/lnd/tor v1.1.6
3535
github.com/ory/dockertest/v3 v3.10.0
3636
github.com/stretchr/testify v1.10.0
37-
github.com/urfave/cli-docs/v3 v3.1.0
3837
github.com/urfave/cli/v3 v3.4.1
3938
go.etcd.io/bbolt v1.4.3
4039
golang.org/x/sync v0.13.0
@@ -73,7 +72,6 @@ require (
7372
github.com/coreos/go-semver v0.3.0 // indirect
7473
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
7574
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
76-
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
7775
github.com/decred/dcrd/crypto/blake256 v1.0.1 // indirect
7876
github.com/decred/dcrd/lru v1.1.2 // indirect
7977
github.com/docker/cli v28.1.1+incompatible // indirect
@@ -123,11 +121,11 @@ require (
123121
github.com/lightninglabs/lightning-node-connect/hashmailrpc v1.0.3 // indirect
124122
github.com/lightninglabs/neutrino v0.16.1 // indirect
125123
github.com/lightninglabs/neutrino/cache v1.1.2 // indirect
126-
github.com/lightningnetwork/lightning-onion v1.2.1-0.20240815225420-8b40adf04ab9 // indirect
124+
github.com/lightningnetwork/lightning-onion v1.2.1-0.20240712235311-98bd56499dfb // indirect
127125
github.com/lightningnetwork/lnd/fn/v2 v2.0.8 // indirect
128126
github.com/lightningnetwork/lnd/healthcheck v1.2.6 // indirect
129127
github.com/lightningnetwork/lnd/kvdb v1.4.16 // indirect
130-
github.com/lightningnetwork/lnd/sqldb v1.0.11 // indirect
128+
github.com/lightningnetwork/lnd/sqldb v1.0.10 // indirect
131129
github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 // indirect
132130
github.com/mattn/go-isatty v0.0.20 // indirect
133131
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
@@ -151,7 +149,6 @@ require (
151149
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
152150
github.com/rogpeppe/fastuuid v1.2.0 // indirect
153151
github.com/rogpeppe/go-internal v1.14.1 // indirect
154-
github.com/russross/blackfriday/v2 v2.1.0 // indirect
155152
github.com/sirupsen/logrus v1.9.3 // indirect
156153
github.com/soheilhy/cmux v0.1.5 // indirect
157154
github.com/spf13/pflag v1.0.6 // indirect
@@ -219,4 +216,4 @@ replace github.com/lightninglabs/loop/swapserverrpc => ./swapserverrpc
219216

220217
replace github.com/lightninglabs/loop/looprpc => ./looprpc
221218

222-
go 1.24.6
219+
go 1.23.12

0 commit comments

Comments
 (0)