Is there a way for golangci-lint to only analyze changes

319 Views Asked by At

I have a big code repository on self-hosted gitlab, which always costs about 15 minutes to run golangci-lint.
Is there a way for golangci-lint to only analyze code changes in merge request?
I know --new, but its meaning is show only new issues in changed code, not analyze only changed code.
I really tried --new, the cost time is still the same. Can someone help me?

0

There are 0 best solutions below