Skip to content
Snippets Groups Projects
Commit 2cc40f9b authored by Martin Stiemerling's avatar Martin Stiemerling :speech_balloon:
Browse files

Linter upgrade fixes

parent f0934994
No related branches found
No related tags found
1 merge request!87Linter upgrade fixes
Pipeline #228528 failed
...@@ -4,7 +4,7 @@ stages: ...@@ -4,7 +4,7 @@ stages:
variables: variables:
IMAGE_PATH: "${CI_REGISTRY_IMAGE}" IMAGE_PATH: "${CI_REGISTRY_IMAGE}"
GOLANG_VERSION: "1.22" GOLANG_VERSION: "1.23"
.build: &build .build: &build
stage: build stage: build
...@@ -38,7 +38,7 @@ build-gnmi-target-debian: ...@@ -38,7 +38,7 @@ build-gnmi-target-debian:
<<: *build <<: *build
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.61.0-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: variables:
GOLANG_VERSION: "1.22" GOLANG_VERSION: "1.23"
run: run:
go: $GOLANG_VERSION go-version: $GOLANG_VERSION
concurrency: 8 concurrency: 8
timeout: 20m timeout: 20m
issues-exit-code: 1 issues-exit-code: 1
...@@ -51,7 +51,7 @@ linters: ...@@ -51,7 +51,7 @@ linters:
- bidichk - bidichk
- durationcheck - durationcheck
- errorlint - errorlint
- exportloopref - copyloopvar
- grouper - grouper
- makezero - makezero
- misspell - misspell
......
...@@ -8,7 +8,7 @@ GOSDN_PRG := $(MAKEFILE_DIR)$(TOOLS_DIR) ...@@ -8,7 +8,7 @@ GOSDN_PRG := $(MAKEFILE_DIR)$(TOOLS_DIR)
GOPATH := $(~/go) GOPATH := $(~/go)
GOBIN := $(GOSDN_PRG) GOBIN := $(GOSDN_PRG)
GOLANGCI_LINT_VERSION=v1.59.0 GOLANGCI_LINT_VERSION=v1.61.0
GOCMD=go GOCMD=go
GOBUILD=$(GOCMD) build GOBUILD=$(GOCMD) build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment