Skip to content

Fix bug when jas_scanner/jas_scanner.exe are the same file #122

Fix bug when jas_scanner/jas_scanner.exe are the same file

Fix bug when jas_scanner/jas_scanner.exe are the same file #122

Triggered via push May 30, 2024 07:32
Status Failure
Total duration 1m 50s
Artifacts

analysis.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Static-Check: jas/external_files/jasutils.go#L169
Error return value of `cmd.Run` is not checked (errcheck)
Static-Check: jas/external_files/jasutils.go#L171
Error return value of `cmd.Run` is not checked (errcheck)
Static-Check: jas/external_files/jasutils.go#L174
Error return value of `cmd.Run` is not checked (errcheck)
Static-Check: jas/external_files/jasutils.go#L127
commentFormatting: put a space between `//` and comment text (gocritic)
Static-Check: jas/secrets/secretsscanner.go#L118
underef: could simplify (*(*s).scanner).ResultsFileName to (*s).scanner.ResultsFileName (gocritic)
Static-Check: jas/secrets/secretsscanner.go#L121
underef: could simplify (*(*s).scanner).ResultsFileName to (*s).scanner.ResultsFileName (gocritic)
Static-Check: jas/applicability/applicabilitymanager.go#L200
underef: could simplify (*(*asm).scanner).ResultsFileName to (*asm).scanner.ResultsFileName (gocritic)
Static-Check: jas/applicability/applicabilitymanager.go#L203
underef: could simplify (*(*asm).scanner).ResultsFileName to (*asm).scanner.ResultsFileName (gocritic)
Static-Check: jas/external_files/jasutils.go#L88
copy - result 0 (int64) is never used (unparam)
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/.