From 3a9b33f0281abc3a49a6d8b5973ca4c43f2fd409 Mon Sep 17 00:00:00 2001 From: Tony Worm Date: Tue, 16 Mar 2021 15:33:52 -0400 Subject: [PATCH] move timeout to golangci-lint command Signed-off-by: Tony Worm --- .github/workflows/ci.yml | 1 - Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1efdebb3..8b6209f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,6 @@ jobs: id: go - name: Lint - timeout-minutes: 3 run: | make lint diff --git a/Makefile b/Makefile index 839f1019..c9ed0754 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ cuefmt: .PHONY: lint lint: cuefmt check-buildkit-version - golangci-lint run + golangci-lint run --timeout 3m @test -z "$$(git status -s . | grep -e "^ M" | grep .cue | cut -d ' ' -f3 | tee /dev/stderr)" .PHONY: check-buildkit-version