Skip to content

Commit

Permalink
Backport of ci: Run go mod tidy check on submodules into release/1.…
Browse files Browse the repository at this point in the history
…16.x (#19747)

backport of commit 5316676

Co-authored-by: Michael Zalimeni <[email protected]>
  • Loading branch information
hc-github-team-consul-core and zalimeni authored Nov 27, 2023
1 parent f413cc3 commit 0141609
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/reusable-check-go-mod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # [email protected]
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"
Expand Down

0 comments on commit 0141609

Please sign in to comment.