Skip to content

Add summary format #320

Add summary format

Add summary format #320

Triggered via pull request May 9, 2024 11:24
Status Failure
Total duration 1m 56s
Artifacts

analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
Static-Check: utils/resultwriter.go#L99
Error return value of `rw.PrintSummary` is not checked (errcheck)
Static-Check: utils/securityCommandSummary.go#L55
type assertion must be checked (forcetypeassert)
Static-Check: utils/resultwriter.go#L562
S1023: redundant `return` statement (gosimple)
Static-Check: commands/scan/buildscan.go#L147
ineffectual assignment to err (ineffassign)
Static-Check: utils/results.go#L184
ineffectual assignment to scanSummary (ineffassign)
Static-Check: utils/securityCommandSummary.go#L49
SA9005: struct type 'github.com/jfrog/jfrog-cli-security/utils.SecurityCommandsSummary' doesn't have any exported fields, nor custom marshaling (staticcheck)
Static-Check: utils/securityCommandSummary.go#L64
SA9005: struct type 'github.com/jfrog/jfrog-cli-security/utils.SecurityCommandsSummary' doesn't have any exported fields, nor custom marshaling (staticcheck)
Static-Check
issues found
Static-Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Go-Sec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.