From 941fccb91534b58a50f8bdd9c4c4f0a5a907923f Mon Sep 17 00:00:00 2001 From: Cody Oss <6331106+codyoss@users.noreply.github.com> Date: Mon, 22 May 2023 13:34:48 -0500 Subject: [PATCH] test: fix tidy check to match all mod files (#7975) Fixes: #7936 --- .github/workflows/vet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/vet.sh b/.github/workflows/vet.sh index b204182ecbf4..b71911d9182d 100755 --- a/.github/workflows/vet.sh +++ b/.github/workflows/vet.sh @@ -27,8 +27,8 @@ for i in $(find . -name go.mod); do go mod tidy popd done -git diff go.mod | tee /dev/stderr | (! read) -git diff go.sum | tee /dev/stderr | (! read) +git diff '*go.mod' | tee /dev/stderr | (! read) +git diff '*go.sum' | tee /dev/stderr | (! read) gofmt -s -d -l . 2>&1 | tee /dev/stderr | (! read) goimports -l . 2>&1 | tee /dev/stderr | (! read)