Skip to content

fix validatePaths

fix validatePaths #64

Triggered via push December 29, 2024 20:03
Status Failure
Total duration 3m 46s
Artifacts

analysis.yml

on: push
Matrix: Go-Lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
Static-Check: utils/validations/test_validate_sca.go#L172
ifElseChain: rewrite if-else to switch statement (gocritic)
Static-Check: utils/validations/test_validate_sca.go#L234
ifElseChain: rewrite if-else to switch statement (gocritic)
Static-Check: utils/validations/test_validate_sca.go#L170
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(key, "[*]", "", -1)` (gocritic)
Static-Check: utils/validations/test_validate_sca.go#L169
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(key, "[]", "", -1)` (gocritic)
Static-Check: utils/validations/test_validation.go#L48
commentFormatting: put a space between `//` and comment text (gocritic)
Static-Check: utils/validations/test_validation.go#L50
commentFormatting: put a space between `//` and comment text (gocritic)
Static-Check: utils/validations/test_validate_sca.go#L39
S1002: should omit comparison to bool constant, can be simplified to `params.FailBuild` (gosimple)
Static-Check
issues found
Spell Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint ubuntu
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Go-Sec
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636