* ci: add validate step to workflow and git-hook to commit * ci: add validate step to workflow and git-hook to commit --------- Co-authored-by: liuyu <>