Skip to content

Commit

Permalink
Update c++-code-formatting.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf authored Jul 1, 2024
1 parent b536d66 commit 053212e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/c++-code-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt update
sudo apt install -y clang-format-15
sudo apt install -y clang-format-18
sudo update-alternatives --install /usr/bin/clang-format \
clang-format /usr/bin/clang-format-15 100
clang-format /usr/bin/clang-format-18 100
sudo update-alternatives --install /usr/bin/git-clang-format \
git-clang-format /usr/bin/git-clang-format-15 100
git-clang-format /usr/bin/git-clang-format-18 100
# We need to fetch the PR's head commit to base our cleanup commit on.
- name: Fetch PR branch
Expand Down

0 comments on commit 053212e

Please sign in to comment.