Closed
Description
It would be nice to let the user choose which tool(s) to install. This way we could only install clang-tidy in the cpp-linter-action (composite form) if inputs.tidy-checks != '-*
. Or we could avoid installing clang-format if the inputs.style != ''
.
Since the releases of binary builds also include the clang-query tool, users could specify that as well.
Implementation
Option 1
clang-tools -t clang-format -t clang-tidy -t clang-query
Option 2
clang-tools -t clang-format,clang-tidy,clang-query
I haven't decided which way to support. Maybe there's a way to support either or both options.
I would expect the current default ( clang-tidy + clang-format) to be overridden when -t
is specified.