Issue:
- go-bindata is not fixing the deprecation of ioutils reported by code analysis check
Description
go-bindata is used to generate the code for the plugin manifests. Since the update of CI step for static code analysis, the ioutils has been reported as deprecation and the most recent version of go-bindata (1.3.2) is not fixing the issue on the generated code.
Goal:
- Review the dependency of project go-bindata as static code gen for static manifests. It would be preferable to have alternatives without depending on external tools/libs.
Engineering references:
- Workarround provided on PR: https://github.com/redhat-openshift-ecosystem/provider-certification-tool/pull/60
- Ci failures: https://github.com/mtulio/provider-certification-tool/actions/runs/4663136133/jobs/8254176655
~~~
Error: pkg/assets/bindata.go:11:2: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
~~~