Skip to content

Commit ed1d2a2

Browse files
authored
chore(bump): golang to 1.24 (#312)
1 parent a38e3b1 commit ed1d2a2

File tree

4 files changed

+8
-30
lines changed

4 files changed

+8
-30
lines changed

.golangci-lint.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ run:
1515
# include test files or not, default is true
1616
tests: true
1717

18-
# list of build tags, all linters use it. Default is empty list.
19-
build-tags:
20-
- mytag
21-
22-
23-
# default is true. Enables skipping of directories:
24-
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
25-
skip-dirs-use-default: true
26-
27-
2818
# by default isn't set. If set we pass it to "go list -mod={option}". From "go help modules":
2919
# If invoked with -mod=readonly, the go command is disallowed from the implicit
3020
# automatic updating of go.mod described above. Instead, it fails when any changes
@@ -43,17 +33,16 @@ run:
4333
# output configuration options
4434
output:
4535
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
46-
formats: colored-line-number
36+
formats:
37+
- format: colored-line-number
38+
path: stdout
4739

4840
# print lines of code with issue, default is true
4941
print-issued-lines: true
5042

5143
# print linter name in the end of issue text, default is true
5244
print-linter-name: true
5345

54-
# make issues output unique by line, default is true
55-
uniq-by-line: true
56-
5746
# add a prefix to the output file references; default is no prefix
5847
path-prefix: ""
5948

.golangci-style.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ run:
1515
# include test files or not, default is true
1616
tests: true
1717

18-
# list of build tags, all linters use it. Default is empty list.
19-
build-tags:
20-
- mytag
21-
22-
# default is true. Enables skipping of directories:
23-
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
24-
skip-dirs-use-default: true
25-
2618
# by default isn't set. If set we pass it to "go list -mod={option}". From "go help modules":
2719
# If invoked with -mod=readonly, the go command is disallowed from the implicit
2820
# automatic updating of go.mod described above. Instead, it fails when any changes
@@ -41,17 +33,16 @@ run:
4133
# output configuration options
4234
output:
4335
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
44-
formats: colored-line-number
36+
formats:
37+
- format: colored-line-number
38+
path: stdout
4539

4640
# print lines of code with issue, default is true
4741
print-issued-lines: true
4842

4943
# print linter name in the end of issue text, default is true
5044
print-linter-name: true
5145

52-
# make issues output unique by line, default is true
53-
uniq-by-line: true
54-
5546
# add a prefix to the output file references; default is no prefix
5647
path-prefix: ""
5748

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.6
1+
FROM golang:1.24.0
22

33
ENV GOPATH=/
44
COPY ./ ./

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/bitcoin-sv/block-headers-service
22

3-
go 1.22.0
4-
5-
toolchain go1.22.5
3+
go 1.24.0
64

75
require (
86
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd

0 commit comments

Comments
 (0)