My Fighter 4/Sorcerer 6 has the ability to cast haste on himself, which says that he
gains an additional action
but it can only be used to take the attack action (one weapon attack only).
Would he be able to cast a spell and than make a melee attack as well on the same turn whilst he is hasted?