Bump GolangCI-Lint to v1.23.0 (#13628)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
04e6911a6b
Коммит
ca140117d8
@@ -67,7 +67,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
echo "Installing golangci-lint"
|
echo "Installing golangci-lint"
|
||||||
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.21.0 # 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.0 # Keep this in sync with .golangci.yml and Jenkinsfile.pr
|
||||||
echo "Installing mattermost-govet"
|
echo "Installing mattermost-govet"
|
||||||
GO111MODULE=off go get -u github.com/mattermost/mattermost-govet
|
GO111MODULE=off go get -u github.com/mattermost/mattermost-govet
|
||||||
cd mattermost-server
|
cd mattermost-server
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
service:
|
service:
|
||||||
golangci-lint-version: 1.21.0 # Keep this in sync with .circleci/config.yml and Jenkinsfile.pr
|
golangci-lint-version: 1.23.0 # Keep this in sync with .circleci/config.yml and Jenkinsfile.pr
|
||||||
|
|
||||||
run:
|
run:
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ pipeline {
|
|||||||
sh """
|
sh """
|
||||||
cd /go/src/github.com/mattermost/mattermost-server
|
cd /go/src/github.com/mattermost/mattermost-server
|
||||||
echo "Installing golangci-lint"
|
echo "Installing golangci-lint"
|
||||||
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.21.0 # 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.0 # Keep this in sync with .golangci.yml and .circleci/config.yml
|
||||||
echo "Installing mattermost-govet"
|
echo "Installing mattermost-govet"
|
||||||
GO111MODULE=off go get -u github.com/mattermost/mattermost-govet
|
GO111MODULE=off go get -u github.com/mattermost/mattermost-govet
|
||||||
make config-reset
|
make config-reset
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user