Skip to content

Commit

Permalink
Make Clang- tidy/format set to be alternatives.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiPashkin committed Jan 6, 2021
1 parent add5cb9 commit 386b80e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y clang-tidy-11 clang-11
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-11 0
sudo update-alternatives --set clang-tidy /usr/bin/clang-tidy-11
clang-tidy --version
env:
CLANG_APT: |
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y clang-format-11 clang-11
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 0
sudo update-alternatives --set clang-format /usr/bin/clang-format-11
clang-format --version
env:
CLANG_APT: |
Expand Down

0 comments on commit 386b80e

Please sign in to comment.