Add support for optional accounts #4
tests.yaml
on: pull_request
Example Program Tests
52s
Run linters
27s
Annotations
11 errors and 14 warnings
Run linters:
node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts#L45
Type 'AllEvents<IDL>[number]' does not satisfy the constraint 'IdlEvent'.
|
Run linters:
node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts#L52
Type 'AllEvents<IDL>[number]' does not satisfy the constraint 'IdlEvent'.
|
Run linters:
node_modules/@coral-xyz/borsh/dist/index.d.ts#L2
Module '"@solana/web3.js"' has no exported member 'PublicKey'.
|
Run linters:
node_modules/@solana/errors/dist/types/error.d.ts#L12
Cannot find name 'ErrorOptions'.
|
Run linters:
node_modules/@solana/errors/dist/types/error.d.ts#L12
Cannot find name 'ErrorOptions'.
|
Run linters:
node_modules/ts-morph/lib/ts-morph.d.ts#L5179
Type 'CompilerNodeToWrappedType<InstanceOf<T>["compilerNode"]>' does not satisfy the constraint 'Node<Node>'.
|
Run linters:
node_modules/vite/dist/node/index.d.ts#L843
Class 'import("/home/runner/work/anchor-client-gen/anchor-client-gen/node_modules/vite/dist/node/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
|
Run linters:
src/accounts.ts#L79
Property 'type' does not exist on type 'IdlAccount'.
|
Run linters:
src/common.ts#L84
Type '"publicKey"' is not comparable to type 'IdlType'.
|
Run linters:
src/common.ts#L112
This comparison appears to be unintentional because the types 'string' and '{ name: string; generics?: IdlGenericArg[] | undefined; }' have no overlap.
|
Example Program Tests
Process completed with exit code 1.
|
Example Program Tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Example Program Tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Run linters
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run linters:
examples/basic-2/generated-client/instructions/create.ts#L3
'isSome' is defined but never used
|
Run linters:
examples/basic-2/generated-client/instructions/create.ts#L7
'Option' is defined but never used
|
Run linters:
examples/basic-2/generated-client/instructions/increment.ts#L3
'isSome' is defined but never used
|
Run linters:
examples/basic-2/generated-client/instructions/increment.ts#L7
'Option' is defined but never used
|
Run linters:
examples/tic-tac-toe/generated-client/instructions/play.ts#L3
'isSome' is defined but never used
|
Run linters:
examples/tic-tac-toe/generated-client/instructions/play.ts#L7
'Option' is defined but never used
|
Run linters:
examples/tic-tac-toe/generated-client/instructions/setupGame.ts#L3
'isSome' is defined but never used
|
Run linters:
examples/tic-tac-toe/generated-client/instructions/setupGame.ts#L7
'Option' is defined but never used
|
Run linters:
examples/tic-tac-toe/generated-client/types/Sign.ts#L5
'borshAddress' is defined but never used
|
Run linters:
examples/tic-tac-toe/generated-client/types/Tile.ts#L5
'borshAddress' is defined but never used
|
Example Program Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|