The description of the booming blade cantrip says (SCAG, p. 142; emphasis mine):
As part of the action used to cast this spell, you must make a melee attack with a weapon against one creature within the spell's range, otherwise the spell fails. On a hit, the target suffers the attack's normal effects, and it becomes sheathed in booming energy until the start of your next turn. If the target willingly moves before then, it immediately takes 1d8 thunder damage, and the spell ends.
Does "moves" refer to moving from one location to another, or is it any action that would require movement (e.g. attacking or using items, etc.)?