Skip to content

Merge branch 'main' into REP-5201-persist-resume-token #5

Merge branch 'main' into REP-5201-persist-resume-token

Merge branch 'main' into REP-5201-persist-resume-token #5

Triggered via push October 30, 2024 15:33
Status Failure
Total duration 41s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/util/uuid.go#L24
SA1019: bsoncodec.ValueMarshaler is deprecated: Use [go.mongodb.org/mongo-driver/bson.ValueMarshaler] instead. (staticcheck)
lint: internal/util/uuid.go#L25
SA1019: bsoncodec.ValueUnmarshaler is deprecated: Use [go.mongodb.org/mongo-driver/bson.ValueUnmarshaler] instead. (staticcheck)
lint: internal/util/uuid.go#L39
SA1019: bsontype.Binary is deprecated: Use bson.Type* constants instead. (staticcheck)
lint: internal/util/uuid.go#L45
SA1019: bsontype.Binary is deprecated: Use bson.Type* constants instead. (staticcheck)
lint: internal/partitions/partition_test.go#L76
SA1019: findOptions.Map is deprecated: Converting directly from a D to an M will not be supported in Go Driver 2.0. Instead, users should marshal the D to BSON using bson.Marshal and unmarshal it to M using bson.Unmarshal. (staticcheck)
lint: internal/partitions/partition_test.go#L81
SA1019: findOptions.Map is deprecated: Converting directly from a D to an M will not be supported in Go Driver 2.0. Instead, users should marshal the D to BSON using bson.Marshal and unmarshal it to M using bson.Unmarshal. (staticcheck)
lint: internal/partitions/partition_test.go#L86
SA1019: findOptions.Map is deprecated: Converting directly from a D to an M will not be supported in Go Driver 2.0. Instead, users should marshal the D to BSON using bson.Marshal and unmarshal it to M using bson.Unmarshal. (staticcheck)
lint: internal/verifier/util.go#L120
ineffectual assignment to err (ineffassign)
lint: internal/verifier/bson_compare.go#L112
SA1019: bsontype.Array is deprecated: Use bson.Type* constants instead. (staticcheck)
lint: internal/verifier/bson_compare.go#L114
SA1019: bsontype.EmbeddedDocument is deprecated: Use bson.Type* constants instead. (staticcheck)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/migration-verifier/migration-verifier. Supported file pattern: go.sum