mirror of https://github.com/hashicorp/consul
Backport of ci: Run `go mod tidy` check on submodules into release/1.17.x (#19748)
backport of commit 5316676bb6
Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
backport/kisunji/controller-test-fix/internally-artistic-buzzard
parent
6ff06bd08d
commit
5354592dcf
|
@ -26,7 +26,8 @@ jobs:
|
||||||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
- run: go mod tidy
|
# Run on all go.mod (include submodules).
|
||||||
|
- run: make go-mod-tidy
|
||||||
- run: |
|
- run: |
|
||||||
if [[ -n $(git status -s) ]]; then
|
if [[ -n $(git status -s) ]]; then
|
||||||
echo "Git directory has changes"
|
echo "Git directory has changes"
|
||||||
|
|
Loading…
Reference in New Issue