diff --git a/.github/workflows/analyzers.yml b/.github/workflows/analyzers.yml index 525ad17a0..ac4d7d2f1 100644 --- a/.github/workflows/analyzers.yml +++ b/.github/workflows/analyzers.yml @@ -8,10 +8,14 @@ jobs: if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - name: Get clang-format 8 - env: + - name: Installing clang-format 10 + env: DEBIAN_FRONTEND: noninteractive - run: sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-8 1000 + run: sudo apt-get install clang-format-10 + - name: Setting clang-format 10 as the default + env: + DEBIAN_FRONTEND: noninteractive + run: sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-10 1000 - name: Clang Format run: ci/check-commit-format.sh