Skip to content

Commit

Permalink
Use new clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Jun 3, 2024
1 parent 759c865 commit a8b63f2
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/clang_tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,21 @@ jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- name: Install bear and clang-tidy
- name: Install clang-tidy
run: |
# This LLVM script will add the relevant LLVM PPA: https://apt.llvm.org/
wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh
chmod +x /tmp/llvm.sh
sudo /tmp/llvm.sh 18
sudo apt-get install -y clang-tidy-18
rm /tmp/llvm.sh
clang-tidy-18 --version
- name: Install bear
run: |
sudo apt-get update
sudo apt-get install -y bear clang-tidy
sudo apt-get install -y bear
bear --version
clang-tidy --version
- name: Checkout Ice
uses: actions/checkout@v4
Expand Down

0 comments on commit a8b63f2

Please sign in to comment.