Get a jar and put the spring onions bottom down and add a little bit of water every couple of days dumping any left as needed and they should last for weeks.
That or you could wrap them in paper towel and a plastic bag. I also don’t cook with them often enough but make a couple dishes that really need them.