Victoria is on the eve of a dangerously hot weekend, with temperatures set to soar to 40C in some parts of the state.