Merge pull request #12 from kempsterc/fix-master-linting #16
Annotations
10 errors and 3 warnings
lint:
pkg/statsd/output.go#L133
o.GetBufferedSamples undefined (type *Output has no field or method GetBufferedSamples) (typecheck)
|
lint:
pkg/statsd/helper_test.go#L148
collector.AddMetricSamples undefined (type *Output has no field or method AddMetricSamples) (typecheck)
|
lint:
../../../../../opt/hostedtoolcache/go/1.21.10/x64/src/net/http/internal/chunked.go#L79
undefined: max (typecheck)
|
lint:
../../../../../opt/hostedtoolcache/go/1.21.10/x64/src/slices/sort.go#L67
undefined: min (typecheck)
|
lint:
../../../../../opt/hostedtoolcache/go/1.21.10/x64/src/slices/sort.go#L97
undefined: max (typecheck)
|
lint:
../../../go/pkg/mod/github.com/go-logr/stdr@v1.2.2/stdr.go#L128
l.FormatInfo undefined (type logger has no field or method FormatInfo) (typecheck)
|
lint:
../../../go/pkg/mod/github.com/go-logr/stdr@v1.2.2/stdr.go#L136
l.FormatError undefined (type logger has no field or method FormatError) (typecheck)
|
lint:
../../../go/pkg/mod/go.opentelemetry.io/otel@v1.24.0/propagation/propagation.go#L85
cannot range over hc (variable of type HeaderCarrier) (typecheck)
|
lint:
../../../go/pkg/mod/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc@v1.24.0/options.go#L54
w.ApplyGRPCOption undefined (type wrappedOption has no field or method ApplyGRPCOption, but does have applyGRPCOption) (typecheck)
|
lint:
../../../go/pkg/mod/golang.org/x/net@v0.23.0/http2/server.go#L2576
trailer declared and not used (typecheck)
|
check-modules
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|