Skip to content

Merge pull request #12 from kempsterc/fix-master-linting #16

Merge pull request #12 from kempsterc/fix-master-linting

Merge pull request #12 from kempsterc/fix-master-linting #16

Triggered via push May 31, 2024 19:52
Status Failure
Total duration 41s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

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: ../../../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/