From 54aea25fac588330e2acbcdeef0a8618c95e2924 Mon Sep 17 00:00:00 2001 From: Tiexin Guo Date: Thu, 25 Nov 2021 14:04:13 +0800 Subject: [PATCH] ci: add timeout for golangci-lint Related issue: https://github.com/golangci/golangci-lint-action/issues/297 --- .github/workflows/golangci-lint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 320f4d840..1ac7e9d6b 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -20,4 +20,5 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: - version: latest + version: v1.29 + args: --timeout 3m0s