Wood for raised beds

We have just finished clearing our new allotment and need to build our raised beds. The two options are (untreated) scaffolding boards, or planks which have been tannalised. There seems to be a mixture of both on our plot neighbours. Any recommendations for which would last longer? The treated planks are actually cheaper than the scaffolding boards, but scaffolding boards look quite robust. Whichever we get, we will line the inside with membrane.
0
Posts
The veg plot was, itself, a leveled patch of ground held up at the house end by a railway sleeper wall which we lined with black plastic to prevent chemicals leaching into the soil and also to protect the wood from moisture in the soil. That was 20 years old when we sold it and still in very good nick.
They're now 2 years old. Previously though we re-used old painted skirting/floor boards from the old house and they lasted for years before rotting.