Robbie Ray pitched six strong innings to improve to 7-0, Sam Huff homered and the San Francisco Giants hung on to beat the Nationals 3-2 on Sunday and take two of three at Washington. Ray allowed a run on three hits and struck out seven without a walk, lowering his ERA to 2.56. Washington's CJ Abrams led off the ninth with a double off of closer Ryan Walker.