mirror of
https://github.com/minio/minio.git
synced 2025-07-11 18:11:06 -04:00
Do not clean golangci-lint's cache (#14042)
- This speeds up running the linters during local development. With a fully cached run, linter completes in 8 seconds. - Any caching issues if present would be local and would not impact CI anyway which always starts with a clean state.
This commit is contained in:
parent
76877eb6fa
commit
f68bd37acf
1
Makefile
1
Makefile
@ -34,7 +34,6 @@ check-gen: ## check for updated autogenerated files
|
|||||||
|
|
||||||
lint: ## runs golangci-lint suite of linters
|
lint: ## runs golangci-lint suite of linters
|
||||||
@echo "Running $@ check"
|
@echo "Running $@ check"
|
||||||
@${GOPATH}/bin/golangci-lint cache clean
|
|
||||||
@${GOPATH}/bin/golangci-lint run --build-tags kqueue --timeout=10m --config ./.golangci.yml
|
@${GOPATH}/bin/golangci-lint run --build-tags kqueue --timeout=10m --config ./.golangci.yml
|
||||||
|
|
||||||
check: test
|
check: test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user