Skip to content

Commit 26e4ef9

Browse files
committed
chore(Makefile): update golangci-lint to v1.62.2 for better compatibility with go1.23
1 parent 080a856 commit 26e4ef9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ GOJSONTOYAML_BIN=$(BIN_DIR)/gojsontoyaml
3838
JSONNET_BIN=$(BIN_DIR)/jsonnet
3939
JSONNETFMT_BIN=$(BIN_DIR)/jsonnetfmt
4040
GOLANGCI_LINT_BIN=$(BIN_DIR)/golangci-lint
41-
GOLANGCI_LINT_VERSION=v1.55.2
41+
GOLANGCI_LINT_VERSION=v1.62.2
4242
PROMTOOL_BIN=$(BIN_DIR)/promtool
4343
DOCGEN_BIN=$(BIN_DIR)/docgen
4444
MISSPELL_BIN=$(BIN_DIR)/misspell

hack/docgen/model/parser.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ func astFrom(filePath string) (*doc.Package, error) {
114114
}
115115

116116
m[filePath] = f
117+
//nolint:staticcheck // SA1019 ast.NewPackage is deprecated, will migrate later.
117118
apkg, _ := ast.NewPackage(fset, m, nil, nil)
118119

119120
return doc.New(apkg, "", 0), nil

0 commit comments

Comments
 (0)