It is ok to use 12-2 cable. Even with 12-2 you have to use a 15A breaker for lighting circuits which is not strictly correct according to the other answer. If the entire circuit is 12AWG, then a 20A breaker can be used.
Let's Get It Fixed!
Our virtual experts can diagnose your issue (for free!) and resolve simple problems.