Makefile: use vendored modules when running linter
Otherwise it hits 1m default timeout.
@@ -50,7 +50,7 @@ test: check-go-format run-unit-tests
.PHONY: lint
lint:
- golangci-lint run --enable-all --max-same-issues=0 --max-issues-per-linter=0 --build-tags aws,packet,e2e --new-from-rev=$$(git merge-base master HEAD) ./...
+ golangci-lint run --enable-all --max-same-issues=0 --max-issues-per-linter=0 --build-tags aws,packet,e2e --new-from-rev=$$(git merge-base master HEAD) --modules-download-mode=$(MOD) ./...
GOFORMAT_FILES := $(shell find . -name '*.go' | grep -v '^./vendor')
