Mining giants BHP (ASX:BHP,NYSE:BHP,LSE:BHP) and Rio Tinto (ASX:RIO,NYSE:RIO,LSE:RIO) have both been served with class action lawsuits regarding sexual harassment and sex discrimination allegations.