Skip to content

render mention

render mention #54

Triggered via push December 22, 2024 11:41
Status Failure
Total duration 1m 36s
Artifacts

go.yml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint (latest): pkg/connector/login.go#L108
fmt.Sprintf format %d has arg userId of wrong type string
Lint (latest)
cannot use proto.AnnotationType_FORMAT_DATA.Enum() (value of type *"go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto".AnnotationType) as "go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto".AnnotationType value in struct literal
Lint (latest): pkg/msgconv/gchatfmt/convert_test.go#L16
cannot use proto.AnnotationType_FORMAT_DATA.Enum() (value of type *"go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto".AnnotationType) as "go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto".AnnotationType value in struct literal
Lint (latest): pkg/msgconv/gchatfmt/convert_test.go#L17
cannot use ptr.Ptr(start) (value of type *int32) as int32 value in struct literal
Lint (latest): pkg/msgconv/gchatfmt/convert_test.go#L18
cannot use ptr.Ptr(length) (value of type *int32) as int32 value in struct literal
Lint (latest): pkg/msgconv/gchatfmt/convert_test.go#L19
cannot use ptr.Ptr(proto.Annotation_DO_NOT_RENDER) (value of type *"go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto".Annotation_ChipRenderType) as "go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto".Annotation_ChipRenderType value in struct literal
Lint (latest): pkg/msgconv/gchatfmt/convert_test.go#L22
cannot use format.Enum() (value of type *"go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto".FormatMetadata_FormatType) as "go.mau.fi/mautrix-googlechat/pkg/gchatmeow/proto".FormatMetadata_FormatType value in struct literal
Lint (latest): pkg/msgconv/gchatfmt/convert_test.go#L69
cannot use ptr.Ptr(test.ins) (value of type *string) as string value in struct literal (compile)
Lint (latest): pkg/connector/login.go#L108
Printf format %d has arg #2 of wrong type string (SA5009)
Lint (latest)
Process completed with exit code 1.