There are two versions of the configuration file added - .golangci.toml and .golangci-prod.toml. The former is for local development and testing, while the latter is for continuous integration (CI). The difference is that the prod version includes some more intensive checks that may take longer to run, but are important for ensuring code quality and security.
Manage tools used to build, lint and format code using tools/go.mod. Set up the Makefile to use locally built versions of the tools using tools/go.mod.
Update the golang-lint-action workflow to use latest version of golangci-lint.
Note that the linter reports errors only for code that was changed since previous commit even with the updated configuration. This should allow us to gradually address all linter issues.
Note that the linter reports errors only for code that was changed since previous commit even with the updated configuration. This should allow us to gradually address all linter issues.