Add sanity test debug #123
analysis.yml
on: push
Static-Check
17s
Go-Sec
1m 47s
Annotations
10 errors and 2 warnings
Static-Check:
jas/external_files/jasutils.go#L172
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#L177
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/external_files/jasutils.go#L158
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
Static-Check:
jas/secrets/secretsscanner.go#L119
underef: could simplify (*(*s).scanner).ResultsFileName to (*s).scanner.ResultsFileName (gocritic)
|
Static-Check:
jas/secrets/secretsscanner.go#L122
underef: could simplify (*(*s).scanner).ResultsFileName to (*s).scanner.ResultsFileName (gocritic)
|
Static-Check:
jas/applicability/applicabilitymanager.go#L201
underef: could simplify (*(*asm).scanner).ResultsFileName to (*asm).scanner.ResultsFileName (gocritic)
|
Static-Check:
jas/applicability/applicabilitymanager.go#L204
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
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/.
|