mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-07-27 22:48:49 -04:00
feat: automatic Go version detection (#2669)
* feat: disable unsupported go1.18 govet analyzers * fix: inactivate interfacer with go1.18
This commit is contained in:
parent
da0a6b3b8a
commit
7bbbe77e5e
13 changed files with 112 additions and 69 deletions
test
|
@ -179,6 +179,7 @@ func saveConfig(t *testing.T, cfg map[string]interface{}) (cfgPath string, finis
|
|||
func testOneSource(t *testing.T, sourcePath string) {
|
||||
args := []string{
|
||||
"run",
|
||||
"--go=1.17", // TODO(ldez): we force to use an old version of Go for the CI and the tests.
|
||||
"--allow-parallel-runners",
|
||||
"--disable-all",
|
||||
"--print-issued-lines=false",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue