mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add and use clang-tidy for GrpcInterface
This commit is contained in:
4
.github/workflows/clang-tidy.yml
vendored
4
.github/workflows/clang-tidy.yml
vendored
@@ -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