[main] Upgrade to latest dependencies #1450
Annotations
10 errors and 1 warning
Go Lint:
pkg/printers/tablegenerator.go#L77
S1011: should replace loop with `columns = append(columns, handler.columnDefinitions...)` (gosimple)
|
Go Lint:
pkg/printers/interface_test.go#L28
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
|
Go Lint:
pkg/printers/tablegenerator_test.go#L48
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
|
Go Lint:
pkg/serving/v1/apply_test.go#L283
printf: non-constant format string in call to (*testing.common).Errorf (govet)
|
Go Lint:
pkg/serving/v1/client_test.go#L777
printf: non-constant format string in call to fmt.Errorf (govet)
|
Go Lint:
pkg/kn-source-pkg/pkg/core/root_test.go#L67
printf: non-constant format string in call to (*testing.common).Errorf (govet)
|
Go Lint:
pkg/kn-source-pkg/pkg/core/root_test.go#L86
printf: non-constant format string in call to (*testing.common).Errorf (govet)
|
Go Lint:
pkg/config/dir/testing.go#L30
SA1029: should not use empty anonymous struct as key for value; define your own type to avoid collisions (staticcheck)
|
Go Lint:
pkg/config/dir/testing.go#L39
SA1029: should not use empty anonymous struct as key for value; define your own type to avoid collisions (staticcheck)
|
Go Lint:
pkg/kn-source-pkg/pkg/types/structs.go#L15
SA9009: ineffectual compiler directive due to extraneous space: "// go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate" (staticcheck)
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/client-pkg/client-pkg. Supported file pattern: go.sum
|
Loading