Closed vadi2 closed 2 years ago
AFAICT clang-tidy-11
is already part of the focal
universe:
https://packages.ubuntu.com/focal-updates/clang-tidy-11
Sure, but I mean 12
I know - but clang-tidy-12
isn't yet available for focal, so AFAIK, it's not just a quick Dockerfile
update.
I guess if LLVM 12 is available from a reputable PPA, that would work?
I'm not a Dockerfile expert.. Worth a try: https://packages.ubuntu.com/hirsute/clang-tidy-12
clang-tidy-13 is out now and adds some great checks such as https://clang.llvm.org/extra/clang-tidy/checks/readability-function-cognitive-complexity.html, would be great to make use of it in PRs - sometimes people contribute functions way too big.
We should at least add clang-tidy-12
which is available for focal
:
https://packages.ubuntu.com/focal-updates/clang-tidy-12
I've added clang-tidy-12. I think it's important that the base image is something fairly standard, otherwise it could be painful to support most people's workflows. This means that supporting the latest clang-tidy as it's released is probably a no-go I'm afraid.
If someone knows how to make the base image be an argument from the Action, then PRs are very much welcome :)
It would great to have support for the latest version of
clang-tidy
:+1: