Skip to content

Switch to glangci lint #137

Switch to glangci lint

Switch to glangci lint #137

Triggered via pull request January 14, 2025 00:28
Status Failure
Total duration 6m 18s
Artifacts

ci.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
lint: test/context_test.go#L722
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
lint: test/context_test.go#L790
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
lint: test/context_test.go#L804
SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
lint: encoders/protobuf/protobuf_enc.go#L32
SA1019: nats.RegisterEncoder is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: enc.go#L50
SA1019: builtin.JsonEncoder is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: enc.go#L51
SA1019: builtin.GobEncoder is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: enc.go#L52
SA1019: builtin.DefaultEncoder is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: test/enc_test.go#L32
SA1019: nats.EncodedConn is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: test/enc_test.go#L33
SA1019: nats.NewEncodedConn is deprecated: Encoded connections are no longer supported. (staticcheck)
lint: test/enc_test.go#L45
SA1019: nats.NewEncodedConn is deprecated: Encoded connections are no longer supported. (staticcheck)
test (1.22)
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (1.23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (1.22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636