From 025cf6a36dfbff8c88b0e7831a9f034c85bc5856 Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Wed, 24 Apr 2024 18:57:19 +0200 Subject: [PATCH] Try fix --- .github/workflows/check.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 11eafd5..c961a93 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,22 +25,23 @@ jobs: ref: '2.13.4' path: src/cppcheck - - name: Build and install cppcheck - working-directory: src/cppcheck - run: | - mkdir build - cd build - cmake .. - cmake --build . - sudo cmake --install . + # - name: Build and install cppcheck + # working-directory: src/cppcheck + # run: | + # mkdir build + # cd build + # cmake .. + # cmake --build . + # sudo cmake --install . - - name: Execute linter check with cppcheck - 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 . + # - name: Execute linter check with cppcheck + # 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 . - name: Check license headers uses: apache/skywalking-eyes/header@v0.6.0 + working-directory: src/pg_stat_monitor - name: Run debug commands on failure if: ${{ failure() }}