Skip to content

Linked multi query #320

Linked multi query

Linked multi query #320

Triggered via pull request January 31, 2024 14:04
Status Failure
Total duration 1m 1s
Artifacts

ci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pubsignals/common.go#L137
Error return value of `path.Prepend` is not checked (errcheck)
lint: pubsignals/common.go#L90
paramTypeCombine: func(ctx context.Context, propertyQuery PropertyQuery, ldContextJSON string, credentialType string, options merklize.Options) (query *QueryMetadata, err error) could be replaced with func(ctx context.Context, propertyQuery PropertyQuery, ldContextJSON, credentialType string, options merklize.Options) (query *QueryMetadata, err error) (gocritic)
lint: pubsignals/common.go#L161
paramTypeCombine: func(ctx context.Context, credentialType string, ldContextJSON string, credentialSubject any, options merklize.Options) (out []QueryMetadata, err error) could be replaced with func(ctx context.Context, credentialType, ldContextJSON string, credentialSubject any, options merklize.Options) (out []QueryMetadata, err error) (gocritic)
lint: auth_test.go#L1205
appendCombine: can combine chain of 3 appends into one (gocritic)
lint: pubsignals/common.go#L37
G101: Potential hardcoded credentials (gosec)
lint: pubsignals/query.go#L493
exported: exported function IsValidOperation should have comment or be unexported (revive)
lint: pubsignals/common.go#L17
exported: comment on exported type PropertyQuery should be of the form "PropertyQuery ..." (with optional leading article) (revive)
lint: pubsignals/common.go#L24
exported: exported type QueryMetadata should have comment or be unexported (revive)
lint: pubsignals/common.go#L40
exported: exported function ParseCredentialSubject should have comment or be unexported (revive)
lint: pubsignals/linkedMultiQuery.go#L26
unused-parameter: parameter 'verifiablePresentation' seems to be unused, consider removing or renaming it as _ (revive)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v1, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v1, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/