From 3aeac0100b1b087922ab91d4e7841abbb12701c1 Mon Sep 17 00:00:00 2001 From: Bernd Verst <4535280+berndverst@users.noreply.github.com> Date: Thu, 4 Aug 2022 15:51:40 -0700 Subject: [PATCH] make linter timeout 15 min (#1931) Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com> --- .github/workflows/components-contrib.yml | 1 + .golangci.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/components-contrib.yml b/.github/workflows/components-contrib.yml index 83d6ba2d83..c7269d7623 100644 --- a/.github/workflows/components-contrib.yml +++ b/.github/workflows/components-contrib.yml @@ -95,6 +95,7 @@ jobs: with: version: ${{ env.GOLANGCI_LINT_VER }} skip-cache: true + args: --timeout 15m - name: Run go mod tidy check diff if: matrix.target_arch == 'amd64' && matrix.target_os == 'linux' && steps.skip_check.outputs.should_skip != 'true' run: make modtidy-all check-diff diff --git a/.golangci.yml b/.golangci.yml index bc65b51cfe..30e265fcb2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,7 +4,7 @@ run: concurrency: 4 # timeout for analysis, e.g. 30s, 5m, default is 1m - deadline: 5m + deadline: 15m # exit code when at least one issue was found, default is 1 issues-exit-code: 1