Skip to content

Commit

Permalink
Try fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien4193 committed Sep 9, 2024
1 parent b2f852e commit d383503
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run clang-format
- name: Update APT package list
run: sudo apt-get update
- name: Download and install LLVM
run: |
apt-get update
wget https://apt.llvm.org/llvm.sh
sudo bash llvm.sh 20
sudo apt-get -y install clang-format-20
- name: Install clang-format
run: sudo apt-get -y install clang-format-20
- name: Run clang-format
run: |
SOURCES=$(find apps src tests \( -name "*.h" -or -name "*.cpp" \))
clang-format-20 --dry-run --Werror $SOURCES

0 comments on commit d383503

Please sign in to comment.