New prime minister Liz Truss began appointing her cabinet after saying the UK will “ride out the storm” under her leadership.