Go through the motions has 2 different meanings across 1 category:
pretend to do something by acting as if one was really doing it
"She isn't really working--she's just going through the motions"
To do something in a mechanical, unreflective manner, especially as a matter of routine and without commitment or enthusiasm; to perform a task perfunctorily.