The Soviet Union's main response to growing German strength was to more or less make friends with Germany even though the Nazi ideology and racial ideas were completely anti-USSR.
Here are a few examples. First, the Soviet Union allowed the Germans to secretly train their armed forces (that they weren't supposed to have) in the Soviet Union. Second, the Soviet Union eventually signed a nonaggression pact with Germany in which the two countries agreed not to attack one another. Finally, the two countries had various trade agreements during the 1930s that were of some benefit to both countries.
So, even though Nazi ideas were very anti-USSR, the Soviets thought they were not strong enough to fight Germany and so they tried to be friendly.