From d71e1c751a887b9afdcd14d5dc7da89f2b84ef68 Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sun, 23 Aug 2026 14:49:49 +0300 Subject: [PATCH] Fix verify-gomod.sh to watch test/go.mod make gomod tidies the test module, but verification listed the nonexistent tests/e2e/go.{mod,sum} paths. Watch test/go.mod and test/go.sum instead, and pass -- before git pathspecs. --- hack/verify-gomod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/verify-gomod.sh b/hack/verify-gomod.sh index 82b2a59a..703d4649 100755 --- a/hack/verify-gomod.sh +++ b/hack/verify-gomod.sh @@ -19,7 +19,7 @@ set -o nounset set -o pipefail make gomod -changes=$(git status --porcelain go.mod go.sum vendor/ tests/e2e/go.mod tests/e2e/go.sum || true) +changes=$(git status --porcelain -- go.mod go.sum vendor/ test/go.mod test/go.sum || true) if [ -n "${changes}" ]; then echo "ERROR: go modules are not up to date; please run: make gomod" echo "changed files:"