mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Add and use clang-tidy for GrpcInterface
This commit is contained in:
1 parent
bd644da236
commit
e83b2e92f3
10 files changed
+27
-18
No files matched your search
@@ -69,10 +69,13 @@ jobs:
|
||||
run: |
|
||||
cd build
|
||||
run-clang-tidy-15 -config-file ../ApplicationLibCode/.clang-tidy -fix files ApplicationLibCode
|
||||
run-clang-tidy-15 -config-file ../GrpcInterface/.clang-tidy -fix files GrpcInterface
|
||||
- name: Run clang-format after clang-tidy
|
||||
run: |
|
||||
cd ApplicationLibCode
|
||||
find -name '*.h' -o -name '*.cpp' -o -name '*.inl' | xargs clang-format-15 -i
|
||||
cd ../GrpcInterface
|
||||
find -name '*.h' -o -name '*.cpp' -o -name '*.inl' | xargs clang-format-15 -i
|
||||
- uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -82,3 +85,4 @@ jobs:
|
||||
branch-suffix: random
|
||||
add-paths: |
|
||||
ApplicationLibCode/*
|
||||
GrpcInterface/*
|
||||
Reference in new issue
Block a user