diff --git a/.github/workflows/lint_pull_request.yml b/.github/workflows/lint_pull_request.yml index ac801c8ad4b..040bbaf5f94 100644 --- a/.github/workflows/lint_pull_request.yml +++ b/.github/workflows/lint_pull_request.yml @@ -21,6 +21,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 + # Using the latest master commit to make use of 'cmake_command' and 'config_file' options - uses: ZedThree/clang-tidy-review@7c3cca0396a179f2fb014dc55d8c6b97d640673c id: review with: diff --git a/tools/git-hooks/Readme.md b/tools/git-hooks/Readme.md index f2c03544a18..e4ba6bf5cce 100644 --- a/tools/git-hooks/Readme.md +++ b/tools/git-hooks/Readme.md @@ -10,8 +10,7 @@ In the current state the git hooks do the following job: - run `clang-tidy` on all files to commit, modified files will drop warnings, newly added files treat warnings as errors when the linter detects a warning. -For running `clang-format` it checks if the version 10 is used, otherwise it will print a warning, -you can install it by using the following command: +You can install them with the following command: ```bash sudo apt install clang-format clang-tidy