The impact of star formation feedback on the circumgalactic medium