Skip to content

Commit

Permalink
Update static-analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arielswalker authored Sep 9, 2024
1 parent 6e7b29a commit 06452b4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,17 @@ jobs:
env:
STRICT_DIR_LIST: './modules/core_api/fsw ./modules/core_private/fsw ./modules/es/fsw ./modules/evs/fsw ./modules/fs/fsw ./modules/msg/fsw ./modules/resourceid/fsw ./modules/sb/fsw ./modules/sbr/fsw ./modules/tbl/fsw ./modules/time/fsw -UCFE_PLATFORM_TIME_CFG_CLIENT -DCFE_PLATFORM_TIME_CFG_SERVER'

- name: Upload SARIF results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: cppcheck_err.sarif

- name: Upload Static Analysis Artifacts
uses: actions/upload-artifact@v4
with:
name: cppcheck-errors
path: cppcheck-errors.tar.gz

- name: Check for reported errors
run: tail -n 1 cppcheck_err.txt | grep -q '^\*\*0 error(s) reported\*\*$'

0 comments on commit 06452b4

Please sign in to comment.