From 795b49ced6805a0ff9529661cabf8aa7994461ce Mon Sep 17 00:00:00 2001 From: Katrina Rogan Date: Mon, 6 Jan 2020 16:19:12 -0800 Subject: [PATCH] Re-add lint retry (#52) --- boilerplate/lyft/golang_test_targets/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/boilerplate/lyft/golang_test_targets/Makefile b/boilerplate/lyft/golang_test_targets/Makefile index 00caee83c5..948af0c633 100644 --- a/boilerplate/lyft/golang_test_targets/Makefile +++ b/boilerplate/lyft/golang_test_targets/Makefile @@ -10,6 +10,7 @@ lint: #lints the package for common code smells # However, that call seem to have some effects (e.g. https://github.com/golang/go/issues/29452) which, for some # reason, allows the subsequent calls to succeed. # TODO: Evaluate whether this is still a problem after moving admin dependency system to go modules. + GO111MODULE=off golangci-lint run --exclude deprecated -v || true GO111MODULE=off golangci-lint run --deadline=5m --exclude deprecated -v # If code is failing goimports linter, this will fix.