Is there a way to know if a binary has to be rebuilt, due to changes to some of its dependencies?
/pkg/math/avg.go
tool1 imports the math package
tool2 imports both, math and user packages
As part of our CI/CD, I need to know that if a Pull Request only updates the user pacakge, only tool2 needs to be deployed to production.
This is of course a simplified example, in real life we'll have a few more binaries and a much higher number of packages.
Thanks
Diego