Open
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
Hi, I've just updated to latest release (I'm lazy so I'm using rpm package for fedora)
When installing via dnf, it wants to add some extra packages:
===============================================================================
Package Architecture Version Repository Size
===============================================================================
Installing:
golangci-lint x86_64 1.54.2-1 @commandline 9.9 M
Installing dependencies:
libgo x86_64 13.2.1-1.fc38 updates 7.5 M
libgo-devel x86_64 13.2.1-1.fc38 updates 490 k
Installing weak dependencies:
gcc-go x86_64 13.2.1-1.fc38 updates 13 M
(it tries to install dnf's version of golang)
Its a problem, because I'm not using fedora's go (its 3 minor rleases behind upstream).
Version of golangci-lint
$ golangci-lint --version
golangci-lint has version v1.50.1 built from (unknown, mod sum: "h1:C829clMcZXEORakZlwpk7M4iDw2XiwxxKaG504SZ9zY=") on (unknown)
Configuration
not applicable
Go environment
not applicable
Verbose output of running
not applicable
A minimal reproducible example or link to a public repository
not applicable
Validation
- Yes, I've included all information above (version, config, etc.).