With different clang-format versions between CI and the development machine, the check-format step might fail as clang-format will generate different outputs even with the same .clang-format file.
References: https://stackoverflow.com/questions/59395507/how-to-maintain-a-clang-format-file-for-different-clang-format-versions