diff options
| author | hathach <[email protected]> | 2025-11-08 15:54:02 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-08 15:54:02 +0700 |
| commit | 7f173ab5ed6a80a5fd6780779fe63fb97d2be0e9 (patch) | |
| tree | a8e3a74d5e2eeb1b43da42b6b23e597dda63cbe6 /.github/workflows/static_analysis.yml | |
| parent | b83b36b35438bd80f743945ef58f8189b1f701e0 (diff) | |
fix more alerts
Diffstat (limited to '.github/workflows/static_analysis.yml')
| -rw-r--r-- | .github/workflows/static_analysis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 227f5e103..a89cdc279 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -118,13 +118,14 @@ jobs: sudo apt update sudo apt install pvs-studio pvs-studio-analyzer credentials ${{ secrets.PVS_STUDIO_CREDENTIALS }} + pvs-studio-analyzer --version - name: Analyze run: | mkdir -p build cmake examples -B build -G Ninja -DBOARD=${{ matrix.board }} -DCMAKE_BUILD_TYPE=MinSizeRel cmake --build build - pvs-studio-analyzer analyze -R .PVS-Studio/.pvsconfig -f build/compile_commands.json --exclude-path hw/mcu/ --exclude-path lib/ -j + pvs-studio-analyzer analyze -f build/compile_commands.json -R .PVS-Studio/.pvsconfig -j4 --security-related-issues --misra-cpp-version 2008 --misra-c-version 2023 --use-old-parser -e lib/ -e hw/mcu/ -e */iar/cxarm/ -e pico-sdk/ plog-converter -t sarif -o pvs-studio-${{ matrix.board }}.sarif PVS-Studio.log - name: Upload SARIF |
