Browse Source

Explicitly set go version in linter config.

pull/1825/head
Gabe Kangas 4 years ago committed by GitHub
parent
commit
01de43e6dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .golangci.yml

5
.golangci.yml

@ -2,6 +2,11 @@ run: @@ -2,6 +2,11 @@ run:
tests: false
modules-download-mode: readonly
# Define the Go version limit.
# Mainly related to generics support in go1.18.
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17
go: '1.17'
issues:
# The linter has a default list of ignorable errors. Turning this on will enable that list.
exclude-use-default: false

Loading…
Cancel
Save