ci/lint: add integration tag

In the current PRs we have an issue with the linter failing on a dead code
in integration tests. The linter isn't failing on main_test.go file
because it somehow ignores the integration tag. However, it fails on
other files which main_test.go depends on and which have the integration
tag.

This commit tells golangci-lint to always use the integration tag while doing
the inspection.
This commit is contained in:
Ondřej Budai 2020-03-17 13:22:10 +01:00 committed by Tom Gundersen
parent 54e27e607c
commit 8d0984ef5d

View file

@ -4,6 +4,10 @@ linters-settings:
- shadow # default value recommended by golangci
- composites
run:
build-tags:
- integration
issues:
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0