The GitHub action workflows are a bit messy and contain duplication. It would be good to clean these up before adding any more complexity to them.