Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a lint/static analysis workflow as a part of the CI. #86

Open
pef-ericsson opened this issue Nov 28, 2023 · 0 comments
Open

Add a lint/static analysis workflow as a part of the CI. #86

pef-ericsson opened this issue Nov 28, 2023 · 0 comments

Comments

@pef-ericsson
Copy link
Contributor

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

  1. Better code quality.
  2. Prevent potential errors.

Benefits

See "Motivation".

Possible Drawbacks

None that I can think of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant