pre-commit: set clang-format to v12 and Google style

6 jobs for pr/23 in 21 seconds (queued for 1 second)