diff options
| author | sakumisu <[email protected]> | 2026-07-12 18:38:31 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2026-07-12 18:38:31 +0800 |
| commit | 5e9d0e6dd393d9aff3ed7f8dc46824139448d0bb (patch) | |
| tree | 2824441b3b3396b92459df1a3acc27055188e0a2 /.github/workflows/cppcheck.yml | |
| parent | 22b07a18fde0befcdb59d58de5ad62c6ab4ba88e (diff) | |
update(chore): add clang-tidy
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to '.github/workflows/cppcheck.yml')
| -rw-r--r-- | .github/workflows/cppcheck.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index 666afd27..9a6523cd 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -13,5 +13,12 @@ jobs: - name: cppcheck shell: bash run: | + set -o pipefail sudo apt install cppcheck - cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 --force . -i third_party/ -i class/template -i port/template/ + cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 --quiet --force . -i third_party/ -i class/template -i port/template/ -i tests/ --include=tests/hpmicro/inc/usb_config.h 2>&1 | tee cppcheck.log + - name: Upload cppcheck log + if: always() + uses: actions/upload-artifact@v4 + with: + name: cppcheck-log + path: cppcheck.log |
