Search your library for an instant or sorcery card, reveal it, then shuffle and put that card on top.
The “shuffle and put the card on top” is a single action. If an effect causes the top card of the library to be face up, the second card down is not revealed.