Skip to content
Snippets Groups Projects
Commit 4667adf0 authored by renovate_bot's avatar renovate_bot Committed by Matthias Feyll
Browse files

[renovate] Update golangci/golangci-lint Docker tag to v1.60.1


See merge request !998

Co-authored-by: default avatarNeil Schark <neil.schark@h-da.de>
Co-authored-by: default avatarRenovate Bot <renovate@danet.fbi.h-da.de>
parent 888dc7c9
No related branches found
No related tags found
No related merge requests found
code-quality: code-quality:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:v1.59.1-alpine image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:v1.60.2-alpine
stage: analyze stage: analyze
script: script:
# writes golangci-lint output to gl-code-quality-report.json # writes golangci-lint output to gl-code-quality-report.json
......
variables:
GOLANG_VERSION: "1.22"
run: run:
go: $GOLANG_VERSION go: "1.22"
concurrency: 8 concurrency: 8
timeout: 20m timeout: 20m
issues-exit-code: 1 issues-exit-code: 1
...@@ -60,7 +58,7 @@ linters: ...@@ -60,7 +58,7 @@ linters:
- bidichk - bidichk
- durationcheck - durationcheck
- errorlint - errorlint
- exportloopref - copyloopvar
- grouper - grouper
- makezero - makezero
- misspell - misspell
......
...@@ -18,7 +18,7 @@ PLUGIN_NAME= bundled_plugin.zip ...@@ -18,7 +18,7 @@ PLUGIN_NAME= bundled_plugin.zip
# Tool Versions # Tool Versions
GOTESTSUM_VERSION=v1.8.1 GOTESTSUM_VERSION=v1.8.1
GOLANGCI_LINT_VERSION=v1.59.1 GOLANGCI_LINT_VERSION=v1.60.2
MOCKERY_VERSION=v2.20.0 MOCKERY_VERSION=v2.20.0
YGOT_GENERATOR_VERSION=v0.27.0 YGOT_GENERATOR_VERSION=v0.27.0
YGOT_GENERATOR_GENERATOR_VERSION=v0.0.4 YGOT_GENERATOR_GENERATOR_VERSION=v0.0.4
......
...@@ -119,7 +119,6 @@ func (p *PndAdapter) RequestAll(ctx context.Context, path string) ([]proto.Messa ...@@ -119,7 +119,6 @@ func (p *PndAdapter) RequestAll(ctx context.Context, path string) ([]proto.Messa
reqResult := make([]proto.Message, len(resp.Mne)) reqResult := make([]proto.Message, len(resp.Mne))
g := new(errgroup.Group) g := new(errgroup.Group)
for i, mne := range resp.Mne { for i, mne := range resp.Mne {
i, mne := i, mne
// TODO: probably the controller should do this; this would result in a // TODO: probably the controller should do this; this would result in a
// single request from CLI side. // single request from CLI side.
g.Go(func() error { g.Go(func() error {
......
...@@ -294,7 +294,6 @@ func Test_version_Compare(t *testing.T) { ...@@ -294,7 +294,6 @@ func Test_version_Compare(t *testing.T) {
} }
for _, tt := range tests { for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
t.Parallel() t.Parallel()
got := v.Compare(tt.args.inputVersion) got := v.Compare(tt.args.inputVersion)
...@@ -385,7 +384,6 @@ func Test_version_compareVersionSegment(t *testing.T) { ...@@ -385,7 +384,6 @@ func Test_version_compareVersionSegment(t *testing.T) {
} }
for _, tt := range tests { for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
t.Parallel() t.Parallel()
got := compareVersionSegment(tt.args.left, tt.args.right) got := compareVersionSegment(tt.args.left, tt.args.right)
...@@ -451,7 +449,6 @@ func Test_version_parseVersionString(t *testing.T) { ...@@ -451,7 +449,6 @@ func Test_version_parseVersionString(t *testing.T) {
} }
for _, tt := range tests { for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
t.Parallel() t.Parallel()
got, err := parseVersionString(tt.args.input) got, err := parseVersionString(tt.args.input)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment