Skip to content

Commit

Permalink
Update go to 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Byrgazov <[email protected]>
  • Loading branch information
Vladislav Byrgazov committed Oct 22, 2024
1 parent 2bc8d8b commit 07cd442
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 16 deletions.
18 changes: 6 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
run:
# concurrency: 6
go: "1.20"
go: "1.23"
timeout: 2m
issues-exit-code: 1
tests: true
Expand All @@ -17,27 +17,24 @@ linters-settings:
check-type-assertions: false
check-blank: false
govet:
check-shadowing: true
enable:
- shadow
settings:
printf:
funcs:
- (github.com/sirupsen/logrus.FieldLogger).Infof
- (github.com/sirupsen/logrus.FieldLogger).Warnf
- (github.com/sirupsen/logrus.FieldLogger).Errorf
- (github.com/sirupsen/logrus.FieldLogger).Fatalf
revive:
min-confidence: 0.8
goimports:
local-prefixes: github.com/networkservicemesh
gocyclo:
min-complexity: 25
maligned:
suggest-new: true
dupl:
threshold: 150
funlen:
Lines: 300
Statements: 120
lines: 300
statements: 120
goconst:
min-len: 2
min-occurrences: 2
Expand Down Expand Up @@ -128,7 +125,6 @@ linters:
enable:
- goheader
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
Expand All @@ -147,15 +143,13 @@ linters:
- ineffassign
- misspell
- nakedret
- exportloopref
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- varcheck
- whitespace
- copyloopvar
issues:
exclude-use-default: false
max-issues-per-linter: 0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/networkservicemesh/cmd-nsc-simple-docker

go 1.20
go 1.23

require (
github.com/antonfisher/nested-logrus-formatter v1.3.1
Expand Down
Loading

0 comments on commit 07cd442

Please sign in to comment.