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