SNP ministers have been told they will need to restore “trust and good faith” with the Scottish Greens is they are to back their crunch budget later this year.