From cc69c917f2684cc853891bc613bdf5498d00d61b Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Thu, 3 Nov 2022 22:56:42 +0530 Subject: [PATCH] Run go vet before golangci (#21580) golangci has terrible error messages if the code doesn't compile or there are some basic errors. Doing a go vet check is a quick way to eliminate any head scratching. ```release-note NONE ``` --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index cc60e509ba..4ca2fcb0f1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -203,6 +203,7 @@ jobs: - run: command: | cd mattermost-server + go vet ./... make golangci-lint # Dedicate job for mattermost-vet to make more clear when the job fails check-mattermost-vet: