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

Centralized linter #57

Merged
merged 4 commits into from
Jan 26, 2024
Merged

Conversation

the1bit
Copy link
Contributor

@the1bit the1bit commented Jan 26, 2024

Description

Changes proposed in this pull request:

  • Use centralized lint config for all Eventing modules
  • Create reusable GitHub Action Workflow for all Eventing modules
  • Input parameters:
    • Go version
    • Lint config URL

Related issue(s)

@the1bit the1bit requested a review from a team as a code owner January 26, 2024 12:42
@the1bit the1bit requested a review from mfaizanse January 26, 2024 12:42
@kyma-bot kyma-bot added area/ci Issues or PRs related to CI related topics cla: yes Indicates the PR's author has signed the CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 26, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you want to replace the existing one so we do not have this twice.
https://github.com/kyma-project/eventing-tools/blob/main/.github/workflows/lint-reusable.yml

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could just apply your changes to the existing file instead.

Copy link
Contributor Author

@the1bit the1bit Jan 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to replace it. The only reason I did not do it, because Eventing Manager uses it. I don't want to kill that solution, until this solution will work fine.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats reasonable. Then, let's keep it for now.

.github/workflows/lint-go-reusable.yml Outdated Show resolved Hide resolved
.github/workflows/lint-go-reusable.yml Outdated Show resolved Hide resolved
.github/workflows/lint-go-reusable.yml Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats reasonable. Then, let's keep it for now.

@kyma-bot kyma-bot added the lgtm Looks good to me! label Jan 26, 2024
@kyma-bot kyma-bot merged commit b740019 into kyma-project:main Jan 26, 2024
5 checks passed
@the1bit the1bit deleted the centralized-linter branch January 26, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Issues or PRs related to CI related topics cla: yes Indicates the PR's author has signed the CLA. lgtm Looks good to me! size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants