Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit 451b832

Browse files
committed
support golangci-lint v1.23.0
1 parent eff394f commit 451b832

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ linters:
4242
# golangci.com configuration
4343
# https://github.com/golangci/golangci/wiki/Configuration
4444
service:
45-
golangci-lint-version: 1.21.x # use fixed version to not introduce new linters unexpectedly
45+
golangci-lint-version: 1.23.x # use fixed version to not introduce new linters unexpectedly

pkg/goenvbuild/preparer.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ var availableGolangciLintVersions = map[int]map[int][]int{
4040
20: {0, 1},
4141
21: {0},
4242
22: {0, 1, 2},
43+
23: {0},
4344
},
4445
}
4546

46-
const defaultGolangciLintVersion = "1.22.x"
47+
const defaultGolangciLintVersion = "1.23.x"
4748

4849
type Preparer struct {
4950
cfg config.Config

0 commit comments

Comments
 (0)