File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111env :
1212 # Common versions
1313 GO_VERSION : ' 1.26.6'
14- GOLANGCI_VERSION : ' v2.12.2 '
14+ GOLANGCI_VERSION : ' v2.13.0 '
1515
1616jobs :
1717 check-diff :
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ linters:
6060 # useful in theory to catch fields that are accidentally omitted. Seems like
6161 # it would have many more false positives than useful catches, though.
6262 - exhaustruct
63+ - exhaustruct_v5
6364
6465 # Warns about TODO comments. The rationale being they should be issues
6566 # instead. We're okay with using TODO to track minor cleanups for next time
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 )))
2626GO_LDFLAGS += -X $(GO_PROJECT ) /pkg/version.Version=$(VERSION )
2727GO_SUBDIRS += errors proto resource response request
2828GO111MODULE = on
29- GOLANGCILINT_VERSION = 2.12.2
29+ GOLANGCILINT_VERSION = 2.13.0
3030GO_LINT_ARGS ?= "--fix"
3131-include build/makelib/golang.mk
3232
Original file line number Diff line number Diff line change @@ -419,7 +419,7 @@ func TestGetExtraResources(t *testing.T) {
419419 "ExtraResources" : {
420420 reason : "If the request has extra resources in the deprecated field we should return them." ,
421421 req : & v1.RunFunctionRequest {
422- ExtraResources : map [string ]* v1.Resources {
422+ ExtraResources : map [string ]* v1.Resources { //nolint:staticcheck // preserve backwards compatibility
423423 "test-resources" : {
424424 Items : []* v1.Resource {
425425 {
You can’t perform that action at this time.
0 commit comments