Skip to content

Commit

Permalink
Merge pull request #9183 from lightningnetwork/0-18-4-branch-rc1
Browse files Browse the repository at this point in the history
release: create branch for v0.18.4-beta.rc1
  • Loading branch information
guggero authored Nov 21, 2024
2 parents d72a3aa + 9246d5c commit c1129bb
Show file tree
Hide file tree
Showing 309 changed files with 24,257 additions and 9,666 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defaults:
shell: bash

env:
BITCOIN_VERSION: "27"
BITCOIN_VERSION: "28"

TRANCHES: 8

Expand All @@ -31,7 +31,7 @@ env:
# /dev.Dockerfile
# /make/builder.Dockerfile
# /.github/workflows/release.yml
GO_VERSION: 1.22.5
GO_VERSION: 1.22.6

jobs:
########################
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ defaults:

env:
# If you change this value, please change it in the following files as well:
# /.travis.yml
# /Dockerfile
# /dev.Dockerfile
# /make/builder.Dockerfile
# /.github/workflows/main.yml
GO_VERSION: 1.22.5
GO_VERSION: 1.22.6

jobs:
main:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ profile.tmp
.DS_Store

.vscode
*.code-workspace

# Coverage test
coverage.txt
Expand Down
67 changes: 36 additions & 31 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
run:
# timeout for analysis
deadline: 10m
go: "1.22.6"

# Skip autogenerated files for mobile and gRPC as well as copied code for
# internal use.
skip-files:
- "mobile\\/.*generated\\.go"
- "\\.pb\\.go$"
- "\\.pb\\.gw\\.go$"
- "internal\\/musig2v040"

skip-dirs:
- channeldb/migration_01_to_11
- channeldb/migration/lnwire21
# Abort after 10 minutes.
timeout: 10m

build-tags:
- autopilotrpc
Expand Down Expand Up @@ -57,7 +47,6 @@ linters-settings:
- G306 # Poor file permissions used when writing to a new file.

staticcheck:
go: "1.22.5"
checks: ["-SA1019"]

lll:
Expand Down Expand Up @@ -133,25 +122,15 @@ linters:
- gochecknoinits

# Deprecated linters. See https://golangci-lint.run/usage/linters/.
- interfacer
- golint
- maligned
- scopelint
- exhaustivestruct
- bodyclose
- contextcheck
- nilerr
- noctx
- rowserrcheck
- sqlclosecheck
- structcheck
- tparallel
- unparam
- wastedassign
- ifshort
- varcheck
- deadcode
- nosnakecase


# Disable gofumpt as it has weird behavior regarding formatting multiple
Expand Down Expand Up @@ -191,7 +170,7 @@ linters:
- wrapcheck

# Allow dynamic errors.
- goerr113
- err113

# We use ErrXXX instead.
- errname
Expand All @@ -207,15 +186,41 @@ linters:
# The linter is too aggressive and doesn't add much value since reviewers
# will also catch magic numbers that make sense to extract.
- gomnd
- mnd

# Some of the tests cannot be parallelized. On the other hand, we don't
# gain much performance with this check so we disable it for now until
# unit tests become our CI bottleneck.
# Some of the tests cannot be parallelized. On the other hand, we don't
# gain much performance with this check so we disable it for now until
# unit tests become our CI bottleneck.
- paralleltest

# New linters that we haven't had time to address yet.
- testifylint
- perfsprint
- inamedparam
- copyloopvar
- tagalign
- protogetter
- revive
- depguard
- gosmopolitan
- intrange


issues:
# Only show newly introduced problems.
new-from-rev: 8c66353e4c02329abdacb5a8df29998035ec2e24
new-from-rev: 77c7f776d5cbf9e147edc81d65ae5ba177a684e5

# Skip autogenerated files for mobile and gRPC as well as copied code for
# internal use.
skip-files:
- "mobile\\/.*generated\\.go"
- "\\.pb\\.go$"
- "\\.pb\\.gw\\.go$"
- "internal\\/musig2v040"

skip-dirs:
- channeldb/migration_01_to_11
- channeldb/migration/lnwire21

exclude-rules:
# Exclude gosec from running for tests so that tests with weak randomness
Expand Down Expand Up @@ -256,8 +261,8 @@ issues:
- forbidigo
- godot

# Allow fmt.Printf() in lncli.
- path: cmd/lncli/*
# Allow fmt.Printf() in commands.
- path: cmd/commands/*
linters:
- forbidigo

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# /make/builder.Dockerfile
# /.github/workflows/main.yml
# /.github/workflows/release.yml
FROM golang:1.22.5-alpine as builder
FROM golang:1.22.6-alpine as builder

# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
# queries required to connect to linked containers succeed.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif
# GO_VERSION is the Go version used for the release build, docker files, and
# GitHub Actions. This is the reference version for the project. All other Go
# versions are checked against this version.
GO_VERSION = 1.22.5
GO_VERSION = 1.22.6

GOBUILD := $(LOOPVARFIX) go build -v
GOINSTALL := $(LOOPVARFIX) go install -v
Expand Down
Loading

0 comments on commit c1129bb

Please sign in to comment.