mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-18 18:55:51 +00:00
[CI] clang-tidy auto fixes (#1099)
Fixes #1098. Fixes #1100. --------- Co-authored-by: kuznetsss <kuznetsss@users.noreply.github.com> Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com>
This commit is contained in:
committed by
GitHub
parent
2893492569
commit
ac97788db8
6
.github/workflows/clang-tidy.yml
vendored
6
.github/workflows/clang-tidy.yml
vendored
@@ -58,6 +58,12 @@ jobs:
|
||||
run: |
|
||||
run-clang-tidy-17 -p build -j ${{ steps.number_of_threads.outputs.threads_number }} -fix -quiet 1>output.txt
|
||||
|
||||
- name: Run pre-commit hook
|
||||
if: ${{ steps.run_clang_tidy.outcome != 'success' }}
|
||||
continue-on-error: true
|
||||
shell: bash
|
||||
run: ./.githooks/pre-commit
|
||||
|
||||
- name: Print issues found
|
||||
if: ${{ steps.run_clang_tidy.outcome != 'success' }}
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user