diff --git a/hack/check-go-mod.sh b/hack/check-go-mod.sh index 1ff4180e1..49d7ec37e 100755 --- a/hack/check-go-mod.sh +++ b/hack/check-go-mod.sh @@ -6,7 +6,7 @@ set -x set -e # verify all modules pass validation -for i in $(find . -name go.mod); do +for i in $(find . -name go.mod -not -path "./site/*"); do pushd . cd $(dirname $i); go list -m -json all > /dev/null