Skip to content

Commit

Permalink
build: document doGoModTidy function in ci.go (ethereum#30685)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasinger authored Oct 28, 2024
1 parent 80bdab7 commit c3919f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c3919f9

Please sign in to comment.