Rat on (someone)

To betray someone by telling someone else about illegal or wrong activities.

The boy ratted on his friend who broke the store window.