Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sbera87 committed Nov 5, 2024
1 parent 3b9518b commit 96b047e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,18 @@ jobs:


- name: Install clang-format
run: sudo apt-get install -y clang-format
run: |
sudo apt-get update
sudo apt-get install -y wget
# Add LLVM APT repository and the key for secure installation
wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/llvm.asc
sudo apt-get update
# Install clang-format (latest version available, e.g., clang-format-16)
sudo apt-get install -y clang-format-15 # You can change the version if a newer version is available
- name: Download clang-format-diff.py
run: |
Expand Down

0 comments on commit 96b047e

Please sign in to comment.