Update module github.com/crossplane/function-sdk-go to v0.3.0 #56
Triggered via pull request
September 21, 2024 08:50
Status
Failure
Total duration
3m 27s
Artifacts
–
ci.yml
on: pull_request
Matrix: build
lint
3m 19s
unit-test
57s
push
0s
Annotations
23 errors and 1 warning
build (arm64)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c go mod download" did not complete successfully: exit code: 1
|
build (amd64)
The job was canceled because "arm64" failed.
|
build (amd64)
The operation was canceled.
|
unit-test:
fn.go#L27
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to response.To
|
unit-test:
fn.go#L30
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to request.GetInput
|
unit-test:
fn.go#L32
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
|
unit-test:
fn.go#L36
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to request.GetDesiredComposedResources
|
unit-test:
fn.go#L39
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
|
unit-test:
fn.go#L42
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to request.GetObservedComposedResources
|
unit-test:
fn.go#L45
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
|
unit-test:
fn.go#L79
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
|
unit-test:
main.go#L27
cannot use &Function{…} (value of type *Function) as "github.com/crossplane/function-sdk-go/proto/v1".FunctionRunnerServiceServer value in argument to function.Serve: *Function does not implement "github.com/crossplane/function-sdk-go/proto/v1".FunctionRunnerServiceServer (wrong type for method RunFunction)
|
unit-test
Process completed with exit code 1.
|
lint:
fn.go#L1
: # github.com/crossplane/function-sequencer [github.com/crossplane/function-sequencer.test]
|
lint:
fn.go#L27
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to response.To
|
lint:
fn.go#L30
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to request.GetInput
|
lint:
fn.go#L32
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
|
lint:
fn.go#L36
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to request.GetDesiredComposedResources
|
lint:
fn.go#L39
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
|
lint:
fn.go#L42
cannot use req (variable of type *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionRequest) as *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionRequest value in argument to request.GetObservedComposedResources
|
lint:
fn.go#L45
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
|
lint:
fn.go#L79
cannot use rsp (variable of type *"github.com/crossplane/function-sdk-go/proto/v1".RunFunctionResponse) as *"github.com/crossplane/function-sdk-go/proto/v1beta1".RunFunctionResponse value in return statement
|
lint:
main.go#L27
cannot use &Function{…} (value of type *Function) as "github.com/crossplane/function-sdk-go/proto/v1".FunctionRunnerServiceServer value in argument to function.Serve: *Function does not implement "github.com/crossplane/function-sdk-go/proto/v1".FunctionRunnerServiceServer (wrong type for method RunFunction)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|