diff --git a/.github/workflows/check-code-formatting.yml b/.github/workflows/check-code-formatting.yml index 2115c8b..d9e8a6d 100644 --- a/.github/workflows/check-code-formatting.yml +++ b/.github/workflows/check-code-formatting.yml @@ -16,10 +16,11 @@ jobs: run: | # sudo apt install --no-install-recommends -y \ # clang-format-15 - sudo update-alternatives --get-selections + # sudo update-alternatives --get-selections sudo update-alternatives --list clang-format sudo update-alternatives --query clang-format clang-format --version + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 10 sudo update-alternatives --set clang-format /usr/bin/clang-format-15 clang-format --version exit 1