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
13 lines
249 B
ReStructuredText
13 lines
249 B
ReStructuredText
Run golangci-lint
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: zuul_work_dir
|
|
:default: {{ zuul.project.src_dir }}
|
|
|
|
The location of the main working directory of the job.
|
|
|
|
.. zuul:rolevar:: golangci_lint_options
|
|
|
|
Arguments passed to golangci-lint
|