MM-22710: Bump golangci to 1.23.6 (#13948)

* MM-22710: Bump golangci to 1.23.6

This is to prepare the codebase for 1.14 shift.

1.23.6 has some fixes which is necessary for a codebase using Go 1.14.

* Remove golangci service

The service is getting shut down.
https://medium.com/golangci/golangci-com-is-closing-d1fc1bd30e0e

* Remove unneeded comment

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
Agniva De Sarker
2020-03-16 22:46:32 +05:30
committed by GitHub
co-authored by mattermod
parent a9415aff6f
commit f42d3c83f3
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ jobs:
- run:
command: |
echo "Installing golangci-lint"
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.23.3 # Keep this in sync with .golangci.yml and Jenkinsfile.pr
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.23.6 # Keep this in sync with Jenkinsfile.pr
echo "Installing mattermost-govet"
export GOBIN=${PWD}/mattermost-server/bin
GO111MODULE=off go get -u github.com/mattermost/mattermost-govet
-3
View File
@@ -1,6 +1,3 @@
service:
golangci-lint-version: 1.23.3 # Keep this in sync with .circleci/config.yml and Jenkinsfile.pr
run:
timeout: 5m
modules-download-mode: vendor
+1 -1
View File
@@ -103,7 +103,7 @@ pipeline {
sh """
cd /go/src/github.com/mattermost/mattermost-server
echo "Installing golangci-lint"
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.23.3 # Keep this in sync with .golangci.yml and .circleci/config.yml
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.23.6 # Keep this in sync with .circleci/config.yml
echo "Installing mattermost-govet"
GO111MODULE=off go get -u github.com/mattermost/mattermost-govet
export PATH=$PATH:$GOBIN