[VOL-5374] Update go version to 1.23
- Upgraded Go version for compatibility with recent toolchain
- Synced with latest dependency requirements
Change-Id: Ib526d29ec9e5d5e08e51354b741541038dcedb35
Signed-off-by: Akash Kankanala <akash.kankanala@radisys.com>
diff --git a/.golangci.yml b/.golangci.yml
index a123737..aca3874 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -21,6 +21,9 @@
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
+ enable:
+ - shadow
+ - fieldalignment
golint:
min-confidence: 0
@@ -37,12 +40,17 @@
#- gochecknoinits
- gocyclo
- gofmt
- - golint
- govet
- ineffassign
- misspell
- gosec
- #- unparam
+ - errcheck
+ - whitespace
+ - goimports
+ - gosimple
+ - staticcheck
+ - unused
+ - unparam
run:
modules-download-mode: vendor
@@ -52,7 +60,12 @@
- text: "weak cryptographic primitive"
linters:
- gosec
+ - path: ".*_test.go"
+ linters:
+ - govet
+ - fieldalignment
exclude-use-default: false
exclude:
- "SA1019: voltha.ImageDownloads is deprecated"
- "SA1019: voltha.ImageDownload is deprecated"
+ - 'G115: integer overflow conversion'