-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
This issue documents the request to:
- Set up a consistent golangci-lint configuration for the repository based on discussion and proposed changes in PR Setup golangci-lint configuration with dedicated lint workflow #373: Setup golangci-lint configuration with dedicated lint workflow #373
- Add a dedicated GitHub Actions workflow to run golangci-lint automatically on pushes and pull requests.
Background:
Establishing standardized linting ensures code quality, prevents common mistakes, and improves maintainability. Adding a standalone lint workflow makes linting passive and reliable for all contributors.
Tasks:
- Add a suitable
.golangci.ymlconfiguration defining the desired linting rules, exclusions, and severity. - Create a dedicated workflow file under
.github/workflows/lint.ymlto run golangci-lint on each push and pull request. Consider best practices for CI speed, caching, and reporting results. - Document usage or customizing the lint config (README, CONTRIBUTING, etc.) for contributors.
References:
- Discussion and patch: PR #373
Metadata
Metadata
Assignees
Labels
No labels