Adam Wainwright allowed two hits in eight masterful innings and Paul Goldschmidt homered to lead the St. Louis Cardinals over the Pittsburgh Pirates 3-0 on Sunday.
The Cardinals snapped a two-game skid and kept the Pirates from earning their first series sweep of the season. They remain the only team in the majors without one.
Wainwright (12-7) threw 106 pitches and retired his final 11 hitters. He hasn't permitted a run in his past 19 innings against the Pirates and has won his last seven decisions against them.
The 39-year-old right-hander struck out nine and did not walk a batter in improving to 20-7 lifetime against Pittsburgh.
Goldschmidt hit his 19th homer in the fifth to make it 2-0. He had two hits and extended his hitting streak to 11 games.
Alex Reyes got his 28th save in 30 chances. Right fielder Lars Nootbaar hauled in a long drive by Colin Moran with two on-to-end it.
Pittsburgh won five of its previous six games in St. Louis.
Jack Flaherty (9-1, 2.68 ERA) will face Detroit RHP Casey Mize (6-6, 3.69) in the opener of a two-game series Tuesday in St. Louis. Flaherty has allowed two runs in 12 innings over two starts since returning Aug. 13 from a long stint on the injured list due to a left oblique strain.