Skip to content

feat: attachments support #3253

feat: attachments support

feat: attachments support #3253

Triggered via pull request July 1, 2024 22:56
Status Failure
Total duration 11m 49s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Checks: pkg/service/oidc4vp/attachments.go#L128
cognitive complexity 35 of func `(*AttachmentService).findAttachments` is high (> 20) (gocognit)
Checks: pkg/service/oidc4vp/attachments.go#L93
var-naming: var targetUrl should be targetURL (revive)
Checks: pkg/service/oidc4vp/attachments_test.go#L67
var-naming: var mockHttp should be mockHTTP (revive)
Checks: pkg/service/oidc4vp/attachments_test.go#L93
var-naming: var mockHttp should be mockHTTP (revive)
Checks: pkg/service/oidc4vp/attachments_test.go#L160
var-naming: var mockHttp should be mockHTTP (revive)
Checks: pkg/service/oidc4vp/attachments.go#L103
response body must be closed (bodyclose)
Checks: pkg/service/oidc4vp/attachments.go#L31
knownAttachmentTypes is a global variable (gochecknoglobals)
Checks: pkg/service/oidc4vp/attachments.go#L77
loopclosure: loop variable attachment captured by func literal (govet)
Checks: pkg/service/oidc4vp/attachments.go#L79
loopclosure: loop variable attachment captured by func literal (govet)
Checks
Process completed with exit code 2.
Semantic Pull Request Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: amannn/action-semantic-pull-request@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Semantic Pull Request Check
The following actions uses node12 which is deprecated and will be forced to run on node16: amannn/action-semantic-pull-request@v4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
UnitTest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
UnitTest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
BDDTest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
BDDTest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/