Add primed check to cargo actions