Minecraft wiki entry for Stairs, associated text: Walking up stairs is faster than jumping up the same distance. Walking up a stairway doesn't cost any exhaustion from the player's hunger bar, compared to 0.2 exhaustion per jump. Therefore, walking up stairs doesn't make the player hungry at all.