Add a lint/static analysis workflow as a part of the CI.
Opened this issue · 0 comments
pef-ericsson commented
Description
The current CI workflow does not contain any lint or static analysis step.
A new "lint.yaml" file can be created with the following steps:
- Shellcheck, a static analysis for scripts.,
- YAML lint.
- Helm lint.
- Dockerfile lint (optional).
The new workflow should run before the "ci.yaml" workflow which runs on a self-hosted runner (K8S cluster).
Motivation
- Better code quality.
- Prevent potential errors.
Benefits
See "Motivation".
Possible Drawbacks
None that I can think of.