If you are very eager to hatch a Riolu then Adventure Sync reward would give you a sweet chance. Walk +50 km a week and leave one egg spot open when claiming the reward to give a high chance receiving a 10 km reward egg. That egg would give you a very high chance to hatch either Riolu or Shinx (I myself got a Shinx this way).
GamePress
Hatch Riolu
What are the chances for hatching a riolu with a 10km egg?