feat: automatic Go version detection ()

* feat: disable unsupported go1.18 govet analyzers
* fix: inactivate interfacer with go1.18
This commit is contained in:
Ludovic Fernandez 2022-03-23 16:54:11 +01:00 committed by GitHub
parent da0a6b3b8a
commit 7bbbe77e5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 112 additions and 69 deletions

View file

@ -43,6 +43,7 @@ func TestFix(t *testing.T) {
t.Parallel()
args := []string{
"--go=1.17", // TODO(ldez): we force to use an old version of Go for the CI and the tests.
"--disable-all", "--print-issued-lines=false", "--print-linter-name=false", "--out-format=line-number",
"--allow-parallel-runners", "--fix",
input,