Skip to content

fix: migrate to ReaderMock/OutputWriter #168

fix: migrate to ReaderMock/OutputWriter

fix: migrate to ReaderMock/OutputWriter #168

Triggered via push September 13, 2024 04:06
Status Failure
Total duration 2m 26s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: store/store.go#L9
could not import github.com/instill-ai/component/ai/ai21labs/v0 (-: # github.com/instill-ai/component/ai/ai21labs/v0
lint: ai/ai21labs/v0/main.go#L101
cannot use e (variable of type *execution) as "github.com/instill-ai/component/base".IExecution value in return statement: *execution does not implement "github.com/instill-ai/component/base".IExecution (wrong type for method Execute)
lint: ai/ai21labs/v0/main.go#L130
invalid argument: inputs (variable of type *structpb.Struct) for len
lint: ai/ai21labs/v0/main.go#L133
cannot range over inputs (variable of type *structpb.Struct)
lint: ai/ai21labs/v0/main.go#L142
cannot use outputs (variable of type []*structpb.Struct) as *structpb.Struct value in argument to out.Write) (typecheck)
lint: store/store.go#L136
undefined: ai21labs (typecheck)
lint: ai/ai21labs/v0/main.go#L101
cannot use e (variable of type *execution) as "github.com/instill-ai/component/base".IExecution value in return statement: *execution does not implement "github.com/instill-ai/component/base".IExecution (wrong type for method Execute)
lint: ai/ai21labs/v0/main.go#L130
invalid argument: inputs (variable of type *structpb.Struct) for len
lint: ai/ai21labs/v0/main.go#L133
cannot range over inputs (variable of type *structpb.Struct)
lint: ai/ai21labs/v0/main.go#L142
cannot use outputs (variable of type []*structpb.Struct) as *structpb.Struct value in argument to out.Write
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/