diff options
| author | Ha Thach <[email protected]> | 2025-11-09 00:26:04 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-09 00:26:04 +0700 |
| commit | 96f35fc0a559aa09da70e0dede5a43081615723f (patch) | |
| tree | 8ed03653c36a3c9e84c9463aa729d1de4d3af2d7 /.github/workflows | |
| parent | 91c3a4fa8d1a88880f262b2a3a227374128de3f3 (diff) | |
| parent | 7f173ab5ed6a80a5fd6780779fe63fb97d2be0e9 (diff) | |
Merge pull request #3334 from hathach/fix-alerts-3
Fix more code alerts
Diffstat (limited to '.github/workflows')
| -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 |
