From 01c8daabf748dbe7a49cf31461445fd4e7852043 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Mon, 24 Aug 2020 12:07:40 -0500 Subject: [PATCH] =?UTF-8?q?=E2=8F=B1=20=20Extend=20golangci-lint=20timeout?= =?UTF-8?q?=20to=205m0s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For reasons unknown, golangci-lint's default 1m0s timeout is *slightly* too short for CI runs occasionally. Extend it to 5 minutes to ensure the job always has enough time to run. Signed-off-by: Major Hayden --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 88fa1cd1c..9632dd47d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,7 +41,7 @@ jobs: run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.23.7 - name: Run golangci-lint - run: $(go env GOPATH)/bin/golangci-lint run + run: $(go env GOPATH)/bin/golangci-lint run --timeout 5m0s - name: Run unit tests run: go test -v -race -covermode=atomic -coverprofile=coverage.txt -coverpkg=./... ./...