Robust resource allocations in temporal networks