The Senate passed a House-approved government funding bill that averts a government shutdown that was set to be triggered at the end of the day Friday.