Skip to content

Commit 55bfe3b

Browse files
authored
Adds --build-tags=unit to golang lint config file (dapr#67)
* Adds `--build-tags=unit` to golang lint GitHub Action Signed-off-by: joshvanl <[email protected]> * Move golang-list workflow build-tags CLI args to .golangci.yml Signed-off-by: joshvanl <[email protected]> --------- Signed-off-by: joshvanl <[email protected]>
1 parent 099b040 commit 55bfe3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ run:
1313
tests: true
1414

1515
# list of build tags, all linters use it. Default is empty list.
16-
#build-tags:
17-
# - mytag
16+
uild-tags:
17+
- unit
1818

1919
# which dirs to skip: they won't be analyzed;
2020
# can use regexp here: generated.*, regexp is applied on full path;

0 commit comments

Comments
 (0)