You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: