twirp-ruby
twirp-ruby copied to clipboard
Ensure `go.mod`/`go.sum` remain tidy
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.
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.