23 Commits
Author SHA1 Message Date
ziggie 61d82fd1f2 build: update CI+release version to Go 1.25.5
This updates the toolchain which we require to build the LND
executable.
2026-01-13 16:07:38 +01:00
ziggie 13e7a6e782 tools: update golangci-lint to v2
The config file format changed. The tool golangci-lint migrate
was used to migrate the old config. However old comments and also
the structure of the disabled linters was preserved.

Moreover the new v2 version introduced new linters, we disable
3 of them because they are very noise and we do not really want
to check for them: funcorder, noinlineerr, embeddedstructfieldcheck.
2025-11-12 22:54:01 +08:00
ziggie f9dccd3e20 tools: use new golang 1.24 tool directive 2025-11-12 22:54:01 +08:00
Boris Nagaev 4fc8d8dda3 build: update CI+release version to Go 1.25.3
We also update the go.mod files to pin to Go 1.24.9.
2025-10-21 14:32:44 -03:00
Olaoluwa Osuntokun 7fcbbd44ca build: update CI+release version to Go 1.25.2
We also update the go.mod files to pin to Go 1.24.8.
2025-10-11 13:39:51 +01:00
Boris Nagaev 6ffe257004 multi: bump Go to 1.24.6 2025-08-30 14:13:44 -03:00
Boris Nagaev ba5f3c0485 tools: fix building golangci-lint on Arm64
If CGO is enabled, Go tries to use the gold linker (-fuse-ld=gold), which is
not installed. CGO was disabled, because it is not needed for golangci-lint.
2025-08-20 16:04:30 -03:00
ziggie 87844cd5b4 multi: bump Golang version to v1.23.12 2025-08-07 16:53:45 +02:00
Boris Nagaev 643fbb8af6 multi: update Go to 1.23.10 2025-07-16 01:19:58 -03:00
Olaoluwa Osuntokun 1c76c6198c build: bump Go version to v1.23.9 2025-05-06 15:50:16 -07:00
Olaoluwa Osuntokun 61852fbe95 multi: update build system to Go 1.23 2025-02-13 16:57:06 -08:00
Oliver Gugger 191c838ad1 multi: bump Go version to v1.22.11 2025-01-30 16:13:26 +01:00
Elle Mouton 88f5369066 tools+.: add custom linter configuration file
Add this file both to the main LND directory so that devs can use it for
local linter runs and also add it to the `tools` directory so that the
docker environment used to run the linter in CI has access to it. A
custom linter binary can be built via `golangci-lint custom`. This will
pull in and register all the plugins listed in the new config file when
building the new binary. The new binary can then be run using
`custom-gcl run`.
2024-12-02 09:14:21 +02:00
Oliver Gugger e99e6662cf multi: update linter, fix new issues 2024-08-20 19:14:44 +02:00
positiveblue 09d21345e1 multi: bump Go version
Bump all build go versions to v1.21.0
Bump the minimum build package version to v1.19.0

Debian "buster" is not longer supported. Security updates have been
discontinued since June 30th 2022. We will build using the latest
version, "bookworm".
2023-09-05 10:11:42 -07:00
Oliver Gugger 56dba2df03 multi: update linter, fix new issues 2023-06-13 11:58:33 +02:00
yyforyongyu 22c1605687 ci: fix lint VSC permissions error 2023-02-01 01:00:55 +08:00
yyforyongyu 601cf60070 tools: fix docker version 2022-12-15 16:03:55 +08:00
Oliver Gugger f02528f304 multi: bump Golang version to v1.19.2 2022-10-11 09:49:30 +02:00
Olaoluwa Osuntokun 65a5eeb24e build: make Go 1.18 the min version, update to Go 1.19
As usual, we keep with the last two Go versions, which means the last
year of Go release (they release every 6 months or so).

This change means we can now use the type params (generics) in the
project!
2022-08-23 10:54:13 -05:00
Olaoluwa Osuntokun c0672b80c2 build: update all Dockerfiles to build w/ Go 1.18.2 2022-06-10 11:32:39 -07:00
Oliver Gugger dfac94bf9b tools+lint: fix linter for Go 1.18 2022-04-29 09:34:14 +02:00
Oliver Gugger 09406f613a make+tools: dockerize linting 2022-02-10 16:03:00 +01:00