diff --git a/action.yml b/action.yml index 34b3e88..3440cb0 100644 --- a/action.yml +++ b/action.yml @@ -412,18 +412,7 @@ runs: print $"\n(ansi purple)Ensuring ($tools | str join ' and ') ($version_str) are present(ansi reset)" for tool in $tools { print $"Installing ($tool) ($version)" - let cmd = if ( - (($version < 13) and ($tool | str ends-with "tidy")) - or ( - ($version <= 9) - and ($tool | str ends-with "format") - and not ((version | get "build_os") | str starts-with "linux") - ) - ) { - [clang-tools --tool $tool --install $version] - } else { - [clang-tools-wheel --tool $tool --version $version] - } + let cmd = [clang-tools install $tool --version $version] ^$'($env.UV_INSTALL_DIR)/uv' ...$uv_args ...$cmd } diff --git a/pyproject.toml b/pyproject.toml index 2c5e61d..ecf481b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ dependencies = [] [dependency-groups] action = [ - "clang-tools==0.18.0", + "clang-tools==1.1.0", "cpp-linter==1.12.1", ] dev = [