mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 10:47:29 +02:00
fix(common): Disable clang-check for unsecure/deprecated APIs
This commit is contained in:
2
.github/workflows/clang-tidy.yml
vendored
2
.github/workflows/clang-tidy.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
working-directory: test_app
|
working-directory: test_app
|
||||||
run: |
|
run: |
|
||||||
. ${IDF_PATH}/export.sh
|
. ${IDF_PATH}/export.sh
|
||||||
idf.py clang-check --include-paths $GITHUB_WORKSPACE --exclude-paths $PWD --run-clang-tidy-py run-clang-tidy
|
idf.py clang-check --include-paths $GITHUB_WORKSPACE --exclude-paths $PWD --run-clang-tidy-py run-clang-tidy --run-clang-tidy-options "-checks=-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling"
|
||||||
cp warnings.txt ../
|
cp warnings.txt ../
|
||||||
- name: Convert clang-tidy results into SARIF output
|
- name: Convert clang-tidy results into SARIF output
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user