From 280776433745d16cfac227b30a231c1060c72cbc Mon Sep 17 00:00:00 2001 From: Suhaha Date: Thu, 19 May 2022 09:46:49 +0800 Subject: [PATCH] chore: add lint timeout --- scripts/lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint.sh b/scripts/lint.sh index 846c55c5bb..e363a9f5b9 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -26,7 +26,7 @@ if [ "${NEED_DOWNLOAD}" = true ]; then fi echo "+ Run lints for Go source code" -${LINT_BIN} run --fix +${LINT_BIN} run --fix --timeout 3m echo "+ Clean up go mod" go mod tidy