ST. PETERSBURG, Fla. -- Starlin Castro's two-run homer off Jake Odorizzi in the seventh inning was the Yankees' only hit of the game, and it was enough to give New York a 2-1 victory over the Tampa Bay Rays on Sunday.
Brett Gardner took a 3-2 pitch with one out in the seventh to draw the Yankees' first walk and become their second baserunner. Castro then sent a 91 mph pitch over the center-field fence.
Nathan Eovaldi (6-2) gave up one run and six hits in six innings to win his career-best fifth consecutive start.
Dellin Betances, Andrew Miller and Aroldis Chapman each pitched a perfect inning and combined for seven strikeouts. Chapman got his seventh save in seven chances, and New York is 6-0 this year when the trio has pitched in the same game.
Odorizzi (2-3) struck out six and walked one in seven innings. He has given up seven homers in six starts this month after allowing two in five April outings.
Odorizzi was perfect until Dustin Ackley reached on a one-out error by shortstop Brad Miller in the sixth inning. Miller was positioned behind second base and moved to his right to field Ackley's grounder. He double clutched at the ball in his glove and bounced his throw to first. The play was called an error by official scorer Bill Mathews.
Tampa Bay challenged the call by first base umpire Gabe Morales, which was upheld in a video review.
Evan Longoria, coming off a four-RBI performance in Saturday's 9-5 win, singled in Brandon Guyer from second base with two outs in the third. Since making his major league debut in 2008, Longoria's 90 RBI against the Yankees are the most by any opponent.
Longoria nearly made it 4-0 in the fifth, but his two-out, opposite-field drive with two was caught at the right-field wall by Aaron Hicks.
Tampa Bay loaded the bases with two outs in the sixth but failed to score when Curt Casali popped out to first.
Yankees designated hitter Alex Rodriguez was hitless in three at-bats, including two strikeouts. A-Rod is 1 for 16 in four games since returning from a strained right hamstring, his lone hit a two-run homer in Friday's 4-1 win.
Yankees: 1B Mark Teixeira (neck spasms) didn't start his fifth straight game but entered in the seventh as a defensive replacement. . RF Carlos Beltran (right shoulder tightness) didn't play. . RHP Luis Severino (right triceps strain) was scheduled to make the first of at least two minor league rehab starts Sunday night with Class A Tampa.
Rays: RHP Brad Boxberger, out since the start of the season after adductor surgery, could be reinstated from the 15-day disabled list as soon as Monday.
Yankees manager Joe Girardi reiterated that struggling RHP Michael Pineda (2-6, 6.92 ERA) will remain in the rotation and make his next start Thursday against Detroit. The right-hander lost for sixth time in seven decisions, after allowing six runs over 3 2/3 innings Saturday. "We've seen Michael be really good," Girardi said. "It's in there. We just have to get it out."
Yankees: RHP Ivan Nova (3-2) makes his second straight start against Toronto on Monday night. He allowed four earned runs over 6 2/3 innings and took the loss in the Blue Jays' 8-4 win Wednesday.