From 351831de9f3d2d224ca77d183d6d2fad3461fb65 Mon Sep 17 00:00:00 2001 From: Kevin Martel Date: Sun, 17 Dec 2023 22:15:12 -0800 Subject: [PATCH] update cppcheck --- .github/workflows/cppcheck.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index 5a5c141..5ae3ed8 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -2,7 +2,11 @@ name: cppcheck on: push: - pull_request: + branches: [ "main" ] + +permissions: + actions: write + contents: write jobs: Linux-cppcheck: @@ -15,10 +19,8 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN}} enable: all - inconclusive: enable inline_suppression: enable force_language: c++ platform: unix64 std: c++20 - output_file: cppcheck_output.txt - other_options: -I inc --file-filter=*cppsocket* --verbose --suppress=missingIncludeSystem + other_options: -I inc --verbose --suppress=missingIncludeSystem