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

One golangci-lint workflow #6567

Merged
merged 1 commit into from
Nov 25, 2022
Merged

Conversation

acald-creator
Copy link
Contributor

@acald-creator acald-creator commented Nov 24, 2022

Signed-off-by: Antonette Caldwell pullmana8@gmail.com

Description

This PR fixes #5993

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

For the purpose of this PR is to separate the golangci-lint workflow from the existing workflows, so that we can obtain the necessary reports from linting issues immediately, instead of stopping the existing workflow.

There will still need to be another PR to update the linting settings, which I'm currently working on.

@github-actions github-actions bot added the area/ci Continuous Integration label Nov 24, 2022
Signed-off-by: Antonette Caldwell <pullmana8@gmail.com>
@leecalcote leecalcote added the language/go Issues or pull requests that use Golang label Nov 24, 2022
@leecalcote
Copy link
Member

Is segregating golang linting into its own workflow ideal? It would be good to address this in context of the spreadsheet that you're updating, @acald-creator (?) - https://docs.google.com/spreadsheets/d/13Ir4gfaKoAX9r8qYjAFFl_U9ntke4X5ndREY1T7bnVs/edit#gid=1214153102

@leecalcote
Copy link
Member

Perhaps, a separate workflow that checks out the repo (again) and sets up golang (again) is less efficient?

@leecalcote
Copy link
Member

@paularah @segunjkf

@leecalcote leecalcote requested a review from a team November 24, 2022 18:42
@leecalcote
Copy link
Member

@acald-creator if we reuse the same linting workflow across the other workflows, separating it out might make sense. The build workflow is not referencing the golangci lint workflow here, though.

@Revolyssup Revolyssup merged commit 03ab47e into meshery:master Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Continuous Integration language/go Issues or pull requests that use Golang
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] Move to latest version of golangci-lint
3 participants