23236c12fa
This patch adds a roles and jobs to run golangci-lint against a a Golang project. It's a very popular tool for linting go code. It also adds a simple framework which allows us to create dynamic tests for file comments by defining a simple YAML file. Change-Id: Ic8358541adaf7c3279383f0279cd3da7b446a6e0
6 lines
240 B
YAML
6 lines
240 B
YAML
---
|
|
# NOTE(mnaser): We are pinning to 1.23.8 due to the fact that at the time of
|
|
# writing this role, 1.24.0 has memory issues
|
|
# https://github.com/golangci/golangci-lint/issues/994
|
|
golangci_lint_version: 1.23.8
|