build: document doGoModTidy function in ci.go (#30685)

release/1.14
jwasinger 3 months ago committed by Martin HS
parent a7e2b8be63
commit 571628a114
  1. 2
      build/ci.go

@ -409,6 +409,8 @@ func compareHashedFilesets(preHashes map[string][32]byte, postHashes map[string]
return updates
}
// doGoModTidy runs 'go mod tidy' and asserts that go.sum/go.mod do not change
// as a result.
func doGoModTidy() {
targetFiles := []string{"go.mod", "go.sum"}
preHashes, err := hashSourceFiles(targetFiles)

Loading…
Cancel
Save