Word, elegant phrase or slang to describe doing something merely to pass the criteria? [duplicate]

For example: He's been punished to clean the floor but he just quickly skimmed it with a broom, with no actual care to how much cleaner the floor would become, and said he's done.
What did he do? - He _______ed it / he was ______ing it
or: How did he perform this task? - ______ly
or: "Clean the floor but don't just ________ it, make me proud!"

I have a few words in my mind but I don't think they fit what I mean or my style of expression: half-ass, skim, slacking...

Much obliged!


Solution 1:

Consider 'Going through the motions'

go through the motions (in British)

to act or perform the task (of doing something) mechanically or without sincerity

Collins English Dictionary

In the examples:

He just went through the motions.

or: "Clean the floor but don't just go through the motions, make me proud!"

Solution 2:

I would suggest "He cleaned the floor perfunctorily" (or "in a perfunctory manner"").