Go through the motions
Give the appearance of doing something without actually doing it or without doing it wholeheartedly dates from c. 1920.