mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 18:30:45 +00:00
build: move tidy check to doTidy() (#2023)
This commit is contained in:
parent
29ad6db3bd
commit
07ed26f790
1 changed files with 0 additions and 8 deletions
|
|
@ -348,14 +348,6 @@ func doGenerate() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fmt.Println("No stale files detected.")
|
fmt.Println("No stale files detected.")
|
||||||
|
|
||||||
// Run go mod tidy check.
|
|
||||||
for _, mod := range goModules {
|
|
||||||
tidy := tc.Go("mod", "tidy", "-diff")
|
|
||||||
tidy.Dir = mod
|
|
||||||
build.MustRun(tidy)
|
|
||||||
}
|
|
||||||
fmt.Println("No untidy module files detected.")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// doBadDeps verifies whether certain unintended dependencies between some
|
// doBadDeps verifies whether certain unintended dependencies between some
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue