Combine the basil, garlic, and walnuts in a food processor and pulse to chop.
Leave the motor running and add the olive oil in a slow, steady stream.
Shut the motor off, add the cheeses, and a big pinch of salt and a liberal grinding of pepper. Process briefly to combine, then scrape out into a bowl and cover until ready to use.