This separates the logic in run_tests.sh that runs all of the linters on all modules in the repository to a separate lint.sh script and updates run_tests.sh to call that script instead. Rather than listing every linter in the script comments, it refers to the .golangci.yml configuration file that specifies them now that it exists. This allows developers to more easily selectively run only the linters without needing to run all of the tests again. It also cleans up the comments in run_test.sh to match reality while here. |
||
|---|---|---|
| .. | ||
| workflows | ||
| pull_request_template.md | ||
| stablilize_testdata_timestamps.sh | ||