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