move timeout to golangci-lint command

Signed-off-by: Tony Worm <tony@hofstadter.io>
This commit is contained in:
Tony Worm 2021-03-16 15:33:52 -04:00
parent 587e1d2d89
commit 3a9b33f028
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,6 @@ jobs:
id: go id: go
- name: Lint - name: Lint
timeout-minutes: 3
run: | run: |
make lint make lint

View File

@ -21,7 +21,7 @@ cuefmt:
.PHONY: lint .PHONY: lint
lint: cuefmt check-buildkit-version 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)" @test -z "$$(git status -s . | grep -e "^ M" | grep .cue | cut -d ' ' -f3 | tee /dev/stderr)"
.PHONY: check-buildkit-version .PHONY: check-buildkit-version