From f57a5e9dd9ad640853d9f13cdb1324574a5646b6 Mon Sep 17 00:00:00 2001 From: sapthasurendran Date: Thu, 7 Jul 2022 16:45:51 +0530 Subject: [PATCH] go vet by tag Signed-off-by: sapthasurendran --- ci/scripts/lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/lint.sh b/ci/scripts/lint.sh index 5bdf2917..c586e566 100755 --- a/ci/scripts/lint.sh +++ b/ci/scripts/lint.sh @@ -17,7 +17,7 @@ for dir in $dirs; do pushd $dir if [[ "$dir" =~ "-go" ]]; then print "Running go vet" - go vet ./... + go vet -tags pkcs11 ./... print "Running gofmt" output=$(gofmt -l -s $(go list -f '{{.Dir}}' ./...)) if [[ "${output}" != "" ]]; then