ci: Upgrade clang-tidy to version 18
Upgrade the clang-tidy job to version 18, which is the latest stable version released. No changes to the code are required.
Upgrade the clang-tidy job to version 18, which is the latest stable version released. No changes to the code are required.