diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6f2da8a..0d45f053 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -181,7 +181,7 @@ jobs: CC: gcc # This is required to use a version of cppcheck other than that # supplied with the operating system - CPPCHECK_VER: "2.19.1" + CPPCHECK_VER: "2.20.0" CPPCHECK_REPO: https://github.com/danmar/cppcheck.git steps: # Set steps.os.outputs.image to the specific OS (e.g. 'ubuntu20') diff --git a/scripts/install_cppcheck_dependencies_with_apt.sh b/scripts/install_cppcheck_dependencies_with_apt.sh index af19adab..07f9b739 100755 --- a/scripts/install_cppcheck_dependencies_with_apt.sh +++ b/scripts/install_cppcheck_dependencies_with_apt.sh @@ -22,7 +22,7 @@ case "$CPPCHECK_VER" in 1.*) # no dependencies ;; - 2.8 | 2.9 | 2.1*) + 2.8 | 2.9 | 2.1* | 2.2*) # Cppcheck 2.8 removed the dependency on z3 # Cppcheck 2.8 added optional support for utilizing Boost PACKAGES="$PACKAGES libboost-container-dev"