Cole Irvin had perhaps his best start in the big leagues as the A's avoided a sweep against the Giants.