Skip to content

Commit

Permalink
test: fix tidy check to match all mod files (#7975)
Browse files Browse the repository at this point in the history
Fixes: #7936
  • Loading branch information
codyoss committed May 22, 2023
1 parent 7a04ae9 commit 941fccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 941fccb

Please sign in to comment.