We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4402df5 commit e53bf9bCopy full SHA for e53bf9b
.github/workflows/clang-format.yml
@@ -7,8 +7,15 @@ jobs:
7
runs-on: ubuntu-latest
8
steps:
9
- uses: actions/checkout@v4
10
- - name: Run clang-format style check for C/C++ programs.
11
- uses: jidicula/clang-format-action@v4.16.0
12
- with:
13
- clang-format-version: '21'
14
- check-path: 'IsoLib/libisomediafile'
+
+ - name: Install clang-format
+ run: |
+ wget https://apt.llvm.org/llvm.sh
+ chmod +x llvm.sh
15
+ sudo ./llvm.sh 18
16
+ sudo apt-get install -y clang-format-18
17
18
+ - name: Run clang-format check
19
20
+ find IsoLib/libisomediafile \( -name "*.h" -o -name "*.cpp" -o -name "*.c" \) | \
21
+ xargs clang-format-18 --dry-run --Werror -style=file
0 commit comments