twirp-ruby icon indicating copy to clipboard operation
twirp-ruby copied to clipboard

Ensure `go.mod`/`go.sum` remain tidy

Open jeffwidman opened this issue 8 months ago • 1 comments

go mod tidy -diff ensures the go.mod and go.sum files remain correct. If anything is amiss, it will print the diff along with an error code and then exit.

jeffwidman avatar Apr 30 '25 06:04 jeffwidman

The error is because the -diff flag wasn't added to go mod tidy until go 1.23: https://tip.golang.org/doc/go1.23#go-command

Once this library starts using 1.23 or higher, this PR will start passing.

jeffwidman avatar Apr 30 '25 07:04 jeffwidman