Dodgers starting pitcher Clayton Kershaw earned his eighth win Sunday afternoon against the Giants.

Kershaw (8-5) allowed a sacrifice fly to Andres Torres in the third inning. He yielded a run on three hits and a walk while striking out three over eight innings of a 4-1 win.

Kershaw has eight-plus innings in each of his last three starts. He has allowed two earned runs over his last 25 innings in that span. The left-hander is scheduled to make his next start Friday at home against the Rockies. He is 1-0 with a 1.69 ERA in two starts against the Rockies.