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

Utilize github.com/super-linter/super-linter for local linting #97

Open
jmeridth opened this issue Apr 16, 2024 · 0 comments
Open

Utilize github.com/super-linter/super-linter for local linting #97

jmeridth opened this issue Apr 16, 2024 · 0 comments
Labels
enhancement New feature or request ospo-actions Issues relating to the OSPO Actions

Comments

@jmeridth
Copy link
Member

Is your feature request related to a problem?

Currently we use a make lint target to run linting locally in each of our OSPO GitHub Actions (example). This "works" but does not cover the larger list of linters that super-linter runs against our code in our linting workflow on each OSPO GitHub Action (example).

The issue is that super-linter does not work well on arm64 architecture (Apple M1, for example). There is an open PR trying to work through this.

Related OSPO Tool

automatic-contrib-prs GitHub Action, cleanowners GitHub Action, contributors GitHub Action, evergreen GitHub Action, issues-metrics GitHub Action, stale-repos GitHub Action

Describe the solution you'd like

We spin up a super-linter container and run linting against the local code

Describe alternatives you've considered

Current: Makefile calling individual tools to try to match the large lister of linters built into super-linter and run in our linting workflow on each OSPO GitHub Action

Additional context

We have people subscribed to the super-linter PR and will try this out as soon as that is merged.

@jmeridth jmeridth added the enhancement New feature or request label Apr 16, 2024
@ahpook ahpook added the ospo-actions Issues relating to the OSPO Actions label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ospo-actions Issues relating to the OSPO Actions
Projects
Status: No status
Development

No branches or pull requests

2 participants