From 100f56edca4f904e0aa33aa9fbd6a577c93ac512 Mon Sep 17 00:00:00 2001 From: Mikhail Samoylov <> Date: Wed, 17 Mar 2021 18:08:48 +0300 Subject: [PATCH] ci: edit cppcheck settings --- .github/workflows/cppcheck.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index ebb848c..baaf1cf 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -4,7 +4,7 @@ on: [push] jobs: build: name: cppcheck-test - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 @@ -12,5 +12,7 @@ jobs: run: sudo apt-get install cppcheck - name: Execute linter check with cppcheck - run: sudo cppcheck --enable=all --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1 --suppress=missingIncludeSystem --suppress=missingInclude --check-config . + run: | + set -x + cppcheck --enable=all --inline-suppr --template='{file}:{line},{severity},{id},{message}' --error-exitcode=1 --suppress=missingIncludeSystem --suppress=missingInclude --suppress=unmatchedSuppression:pg_stat_monitor.c --check-config .