I'd use "go along" for people, meaning either to agree with ("I'll go along with the idea of pasta for dinner.") or to accompany ("I'll go along with you to the store to buy pasta for dinner.") Use "go with" for an appropriate combination of foods: "The red wine will go with the pasta you're making to go with the meat you bought."