Skip to content
Snippets Groups Projects
Commit ee9ec834 authored by Andre Sterba's avatar Andre Sterba Committed by Malte Bauch
Browse files

Bump container to Go version 1.17 and restore linter changes

parent bdf3915c
Branches
Tags v2.31.1
6 merge requests!246Develop,!245Develop into Master,!244Master into develop2 into master,!228Merge develop into stmakurz_http_server,!220Bump container to Go version 1.17 and restore linter changes,!138Develop
......@@ -2,7 +2,7 @@ variables:
GOSDN_IMAGE: "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}"
GOSDN_TESTING_IMAGE: "${CI_REGISTRY_IMAGE}:testing_${CI_COMMIT_SHA}"
CEOS_IMAGE: "$CI_REGISTRY_IMAGE/ceos:latest"
GOLANG_VERSION: "1.16"
GOLANG_VERSION: "1.17"
stages:
- build
......
code-quality:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:latest-alpine
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:v1.42-alpine
stage: analyze
script:
# writes golangci-lint output to gl-code-quality-report.json
......@@ -10,4 +10,3 @@ code-quality:
paths:
- gl-code-quality-report.json
needs: []
\ No newline at end of file
......@@ -27,9 +27,13 @@ linters:
enable:
- gofmt
- goimports
- revive
- gocyclo
- govet
- unused
- staticcheck
- typecheck
- revive
- whitespace
issues:
exclude-use-default: false
max-issues-per-linter: 0
......
ARG GOLANG_VERSION=1.16
ARG GOLANG_VERSION=1.17
ARG BUILDARGS
ARG $GITLAB_PROXY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment