1. Heat the oil in a skillet over medium-low heat.
2. Add the nuts and toast them for 3 to 4 minutes, stirring frequently.
3. Add the garlic, spinach, basil, salt, and pepper.
4. Cook for 3 to 5 minutes more, turning frequently.
5. Toss with the cooked pasta and top with cheese.