-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Welcome
- Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've read the typecheck section of the FAQ (https://golangci-lint.run/usage/faq/#why-do-you-have-typecheck-errors).
- Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.). (https://golangci-lint.run/usage/linters/)
Description of the problem
With versions higher than 1.51.0 I'm getting errors running that command:
docker run --rm -v $(pwd):/x -w /x golangci/golangci-lint:<version> golangci-lint run --new-from-rev HEAD
Version 1.51.0 doesn't show any error as expected.
Version of golangci-lint
Tried versions from 1.51.0 and higher.
Configuration
Default configuration.
Go environment
Running from docker.
Verbose output of running
Don't use cache while running the docker image.
Code example or link to a public repository
Validation
- Yes, I've included all information above (version, config, etc.).