From 1cf8eae97960d414f7b50d3eabbf3d7c5ffb1085 Mon Sep 17 00:00:00 2001 From: Eric Ernst Date: Fri, 25 Feb 2022 14:54:48 -0800 Subject: [PATCH] unconvert: ensure unconvert checks each OS We've seen instances of casting's being flagged on linux, when they are necessary running on other OSs (Darwin). Let's make sure we run unconvert w. --all to address this. Fixes: #4517 Signed-off-by: Eric Ernst --- .ci/.golangci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/.golangci.yml b/.ci/.golangci.yml index b43682d455..5facb75866 100644 --- a/.ci/.golangci.yml +++ b/.ci/.golangci.yml @@ -29,6 +29,8 @@ linters: - varcheck linters-settings: + unconvert: + command: "unconvert --all" gocyclo: min_complexity: 15 unused: