From 5354592dcf3636a7194116f72b03ee360faf9147 Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Mon, 27 Nov 2023 15:46:00 -0600 Subject: [PATCH] Backport of ci: Run `go mod tidy` check on submodules into release/1.17.x (#19748) backport of commit 5316676bb671a973d4a04a9d0fd1db7b922cea86 Co-authored-by: Michael Zalimeni --- .github/workflows/reusable-check-go-mod.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-check-go-mod.yml b/.github/workflows/reusable-check-go-mod.yml index 7fffb61687..51fd682776 100644 --- a/.github/workflows/reusable-check-go-mod.yml +++ b/.github/workflows/reusable-check-go-mod.yml @@ -26,7 +26,8 @@ jobs: - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version-file: 'go.mod' - - run: go mod tidy + # Run on all go.mod (include submodules). + - run: make go-mod-tidy - run: | if [[ -n $(git status -s) ]]; then echo "Git directory has changes"