Along with several other jurisdictions across the state, Mountain View has joined a lawsuit against the federal government that is challenging new conditions imposed on recipients of federal grants.