Gosec check failing #1020
Labels
area/ci
area/registry
Devfile registry for stacks and infrastructure
kind/bug
Something isn't working
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area ci
/area registry
What versions of software are you using?
Go project
Operating System and version: N/A
Go Pkg Version: 1.17
Describe the bug:
Newest release of gosec now require golang version 1.19 which breaks the CI check in devfile/registry-support.
To Reproduce:
Run "CI / Check go tools build (push)" workflow.
Expected behavior
Should perform the gosec check without dependency errors.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
N/A
Suggestion on how to fix the bug
Change https://github.com/devfile/registry-support/blob/e2d3dd6b30f37b34d9e1701d81ba3ab38db0cbb7/.github/workflows/ci.yaml#L34 to use gosec 2.14:
go install github.com/securego/gosec/v2/cmd/gosec@v2.14.0
The text was updated successfully, but these errors were encountered: