I am facing issue with the go module replace relative path not working on github action while it seems to work on local machine its picking ../common as we have common in root directory for two microservices inside root and common in root so we use replace to use local folder in our services.
Common in:
root/common/go.mod
In root/service/go.mod:
replace github.com/.../common => ../common
This above line picks common in local development but when i deploy to gcp gcloud using github action its giving me error:
(replaced by ../common): reading /common/go.mod: open /common/go.mod: no such file or directory