From baf62457a3a75be4dc56c25778f02e49ae96b32a Mon Sep 17 00:00:00 2001 From: matt335672 <30179339+matt335672@users.noreply.github.com> Date: Mon, 7 Feb 2022 09:31:34 +0000 Subject: [PATCH] Move to cppcheck 2.7 and bump default threads to 2 --- .github/workflows/build.yml | 2 +- scripts/run_cppcheck.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d91f1dff..0b02237d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,7 +127,7 @@ jobs: CC: gcc # This is required to use a version of cppcheck other than that # supplied with the operating system - CPPCHECK_VER: 2.6 + CPPCHECK_VER: 2.7 CPPCHECK_REPO: https://github.com/danmar/cppcheck.git steps: # This is currently the only way to get a version into diff --git a/scripts/run_cppcheck.sh b/scripts/run_cppcheck.sh index 2c152782..65ec254e 100755 --- a/scripts/run_cppcheck.sh +++ b/scripts/run_cppcheck.sh @@ -48,7 +48,7 @@ fi # Any options/directories specified? if [ $# -eq 0 ]; then - set -- . + set -- -j 2 . fi # Display the cppcheck version and command for debugging