bump min golang ver to 1.18 (#2412)

This commit is contained in:
Meisam
2022-12-06 23:31:08 +01:00
committed by GitHub
parent a0933da8d1
commit 1558834df2
6 changed files with 9 additions and 7 deletions

View File

@@ -4,8 +4,8 @@ run:
# 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'
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.18
go: '1.18'
issues:
# The linter has a default list of ignorable errors. Turning this on will enable that list.
@@ -69,7 +69,7 @@ linters-settings:
gosimple:
# Select the Go version to target. The default is '1.13'.
go: '1.17'
go: '1.18'
# https://staticcheck.io/docs/options#checks
checks: ['all']