Skip to content

Commit

Permalink
change CppCheck options in Git action
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed May 1, 2024
1 parent 438003d commit 7fefb17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/timbl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ jobs:
- name: Configure CppCheck
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
cpc_opts="--enable=all --inline-suppr --force -I include -I /usr/local/include --suppress=duplInheritedMember --quiet --error-exitcode=0"
cpc_opts="--enable=warning,style --inline-suppr --force -I include -I /usr/local/include --check-level=exhaustive --quiet --error-exitcode=0"
else
cpc_opts="--enable=all --inline-suppr --force -I include -I /usr/local/include -I /usr/local/opt/icu4c/include --suppress=missingIncludeSystem --suppress=duplInheritedMember --quiet --error-exitcode=0"
cpc_opts="--enable=warning,style --inline-suppr --force -I include --check-level=exhaustive --quiet --error-exitcode=0"
fi
echo "cpc_opts=$cpc_opts" >> $GITHUB_ENV
Expand Down

0 comments on commit 7fefb17

Please sign in to comment.