move timeout to golangci-lint command
Signed-off-by: Tony Worm <tony@hofstadter.io>
This commit is contained in:
parent
587e1d2d89
commit
3a9b33f028
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -48,7 +48,6 @@ jobs:
|
||||
id: go
|
||||
|
||||
- name: Lint
|
||||
timeout-minutes: 3
|
||||
run: |
|
||||
make lint
|
||||
|
||||
|
2
Makefile
2
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
|
||||
|
Reference in New Issue
Block a user