Manny Machado hit two homers and drove in three runs for the San Diego Padres, who beat the St. Louis Cardinals 4-2 to extend their season-high winning streak to eight games. The Padres are barely hanging on in the race for the NL’s third wild-card spot a season after Machado helped carry them on a stirring run to the NL Championship Series. Machado twice put the Padres ahead, the second time on a two-run homer off Matthew Liberatore with one out in the eighth inning. Machado gestured toward the Padres’ dugout after hitting his 30th homer, with Juan Soto aboard on a double.