Skip to content

Commit

Permalink
brew doesn't add -18
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlion committed Jun 3, 2024
1 parent 2d57ddd commit 6e1af4c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ jobs:
run: |
curl --proto '=https' --tlsv1.2 -sSf https://apt.llvm.org/llvm.sh | sudo bash -s -- 18
sudo apt install -y clang-format-18 clang-tidy-18
for src in /usr/bin/clang*-*; do
base="$(basename $src)";
ln -s $src /usr/local/bin/${base%-*};
done
- name: "Build for compile commands.json"
run: |
Expand All @@ -59,8 +63,8 @@ jobs:
- name: "Clang format"
run: |
find cpp/src -type f | xargs clang-format-18 -i
find cpp/src -type f | xargs clang-format -i
- name: "Clang tidy"
run: |
find cpp/src -type f | xargs clang-tidy-18
find cpp/src -type f | xargs clang-tidy

0 comments on commit 6e1af4c

Please sign in to comment.