celestia-core icon indicating copy to clipboard operation
celestia-core copied to clipboard

Github workflow for `go mod tidy`

Open rootulp opened this issue 1 year ago • 1 comments

Context

https://github.com/celestiaorg/celestia-core/pull/871#discussion_r1006982465

Problem

It is possible for a PR to be merged to this repo where go mod tidy hasn't been run. This is problematic because when developers pull latest v0.34.x-celestia and make a change, running go mod tidy may modify imports in go.mod that are unrelated to their change.

Proposal

Add a Github workflow that fails if go mod tidy hasn't been run on the PR

rootulp avatar Oct 27 '22 14:10 rootulp