Skip to content

Fix string/IntentName type mismatch #123

Fix string/IntentName type mismatch

Fix string/IntentName type mismatch #123

Triggered via push May 5, 2024 16:12
Status Failure
Total duration 50s
Artifacts

test.yml

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

Annotations

10 errors and 1 warning
build (1.22.x): rpc/helpers_test.go#L103
cannot use name (variable of type string) as intents.IntentName value in struct literal
build (1.22.x): rpc/helpers_test.go#L119
cannot use intent.Name (variable of type intents.IntentName) as string value in struct literal
build (1.22.x): rpc/helpers_test.go#L663
cannot use protoIntent.Name (variable of type string) as intents.IntentName value in struct literal
build (1.22.x): rpc/helpers_test.go#L719
cannot use protoIntent.Name (variable of type string) as intents.IntentName value in struct literal
build (1.22.x): rpc/send_transaction_test.go#L68
cannot use intents.IntentName_sendTransaction (constant "sendTransaction" of type intents.IntentName) as string value in argument to generateSignedIntent
build (1.22.x): rpc/sessions_test.go#L138
cannot use intents.IntentName_openSession (constant "openSession" of type intents.IntentName) as string value in struct literal
build (1.22.x): rpc/sessions_test.go#L168
cannot use intents.IntentName_openSession (constant "openSession" of type intents.IntentName) as string value in argument to generateSignedIntent
build (1.22.x): rpc/sessions_test.go#L280
cannot use intents.IntentName_closeSession (constant "closeSession" of type intents.IntentName) as string value in argument to generateSignedIntent
build (1.22.x): rpc/sessions_test.go#L411
cannot use intents.IntentName_listSessions (constant "listSessions" of type intents.IntentName) as string value in argument to generateSignedIntent
build (1.22.x): rpc/sign_message_test.go#L66
cannot use intents.IntentName_signMessage (constant "signMessage" of type intents.IntentName) as string value in argument to generateSignedIntent
build (1.22.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.