File tree Expand file tree Collapse file tree 4 files changed +8
-21
lines changed Expand file tree Collapse file tree 4 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 14
14
- name : Set up Go
15
15
uses : actions/setup-go@v3
16
16
with :
17
- go-version : ^1.21
17
+ go-version : ^1.24
18
18
id : go
19
19
20
20
- name : Check out code into the Go module directory
30
30
- name : Set up Go
31
31
uses : actions/setup-go@v3
32
32
with :
33
- go-version : ^1.21
33
+ go-version : ^1.24
34
34
id : go
35
35
36
36
- name : Check out code into the Go module directory
@@ -40,10 +40,10 @@ jobs:
40
40
run : go install mvdan.cc/gofumpt@v0.4.0
41
41
42
42
- name : Install staticcheck
43
- run : go install honnef.co/go/tools/cmd/staticcheck@v0.4.2
43
+ run : go install honnef.co/go/tools/cmd/staticcheck@v0.6.1
44
44
45
45
- name : Install golangci-lint
46
- run : go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.0
46
+ run : go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8
47
47
48
48
- name : Install NilAway
49
49
run : go install go.uber.org/nilaway/cmd/nilaway@latest
Original file line number Diff line number Diff line change @@ -10,23 +10,21 @@ linters:
10
10
- gocritic
11
11
- godot
12
12
- godox
13
- - gomnd
14
13
- lll
14
+ - mnd
15
15
- nestif
16
16
- nilnil
17
17
- nlreturn
18
18
- noctx
19
19
- nonamedreturns
20
- - nosnakecase
21
20
- paralleltest
22
21
- revive
23
22
- testpackage
23
+ - tenv
24
24
- unparam
25
25
- varnamelen
26
26
- wrapcheck
27
27
- wsl
28
- - deadcode
29
- - varcheck
30
28
- exhaustruct
31
29
- depguard
32
30
@@ -36,19 +34,8 @@ linters:
36
34
- contextcheck
37
35
- rowserrcheck
38
36
- sqlclosecheck
39
- - structcheck
40
37
- wastedassign
41
38
42
- #
43
- # Disabled because deprecated:
44
- #
45
- - exhaustivestruct
46
- - golint
47
- - ifshort
48
- - interfacer
49
- - maligned
50
- - scopelint
51
-
52
39
linters-settings :
53
40
#
54
41
# The G108 rule throws a false positive. We're not actually vulnerable. If
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
"github.com/flashbots/ssh-pubkey-server/common"
11
11
"github.com/flashbots/ssh-pubkey-server/httpserver"
12
12
"github.com/google/uuid"
13
- "github.com/urfave/cli/v2" // imports as package "cli "
13
+ cli "github.com/urfave/cli/v2"
14
14
)
15
15
16
16
var flags []cli.Flag = []cli.Flag {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
"github.com/flashbots/go-utils/httplogger"
13
13
"github.com/flashbots/ssh-pubkey-server/common"
14
14
"github.com/flashbots/ssh-pubkey-server/metrics"
15
- "github.com/go-chi/chi/v5"
15
+ chi "github.com/go-chi/chi/v5"
16
16
"github.com/go-chi/chi/v5/middleware"
17
17
"go.uber.org/atomic"
18
18
)
You can’t perform that action at this time.
0 commit comments