Skip to content

Switch to glangci lint #133

Switch to glangci lint

Switch to glangci lint #133

Triggered via pull request January 13, 2025 23:07
Status Failure
Total duration 6m 27s
Artifacts

ci.yaml

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

Annotations

10 errors and 3 warnings
lint: jetstream/test/kv_test.go#L935
File is not properly formatted (gofmt)
lint: jetstream/test/object_test.go#L923
File is not properly formatted (gofmt)
lint: test/kv_test.go#L758
File is not properly formatted (gofmt)
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
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