The Scottish government praised staff for their “service and dedication” during the Covid pandemic.