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 golangci-lint action #65

Open
anusha94 opened this issue Mar 10, 2023 · 0 comments
Open

Add golangci-lint action #65

anusha94 opened this issue Mar 10, 2023 · 0 comments
Assignees

Comments

@anusha94
Copy link
Contributor

Description:

To make the code more uniform and readable, it is better to run it against a linter. golangci-lint is quite popular for Go based projects and it also comes with a GitHub action that can be setup to run on every PR.

What needs to be done?

  • create a new CI workflow that runs on every PR and push to main
  • you may encounter errors in existing code when you run the linter, fix those
  • note that not all linting actions maybe suitable for the project or maybe an overkill, feel free to exclude those
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

2 participants