diff --git a/.github/workflows/config_coverage.yml b/.github/workflows/config_coverage.yml index e8be53093f..112327af98 100644 --- a/.github/workflows/config_coverage.yml +++ b/.github/workflows/config_coverage.yml @@ -50,16 +50,17 @@ jobs: export LLVM_VER="$(apt-cache search --full 'clang-[[:digit:]]*$' | grep '^Package: clang' | cut -d ' ' -f 2 | sort -V | tail -n 1 | sed 's/clang-//')" echo "::group::Install Clang and Clang-Tidy version ${LLVM_VER}" sudo apt-get -y --no-install-recommends install \ - clang-$LLVM_VER \ + clang-$LLVM_VER \ clang-tidy-$LLVM_VER - sudo update-alternatives --install \ - /usr/bin/clang clang /usr/bin/clang-$LLVM_VER 1000 \ - --slave \ - /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-$LLVM_VER + sudo update-alternatives --install \ + /usr/bin/clang clang /usr/bin/clang-$LLVM_VER 10000 + sudo update-alternatives --install \ + /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-$LLVM_VER 10000 echo "::endgroup::" echo "Installed Clang:" update-alternatives --query clang + update-alternatives --query clang-tidy - name: "Package CodeChecker" id: codechecker run: |