Skip to content

Commit

Permalink
change workflow for cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-khwarizmi-780 committed May 4, 2024
1 parent a6cc9a6 commit b0d548f
Show file tree
Hide file tree
Showing 79 changed files with 14 additions and 27 deletions.
Binary file added .cache/clangd/index/dummy.cpp.DD0D404C08096709.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/gmock.cc.7B7156E1C8F7DCB6.idx
Binary file not shown.
Binary file added .cache/clangd/index/gmock.h.FC554658E402349F.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/gtest.h.2E26582C5003B303.idx
Binary file not shown.
Binary file added .cache/clangd/index/gtest.h.7834C5D7F7E0551B.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/main.cpp.5FF86FFF8A25C09C.idx
Binary file not shown.
Binary file added .cache/clangd/index/main.cpp.99565457C9CA84A0.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/main.cpp.CF0695BBBA04BD32.idx
Binary file not shown.
Binary file added .cache/clangd/index/main.cpp.FE3523E093B38467.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/types.h.12680B071987E97B.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/util.h.5FC91D830C8CFE03.idx
Binary file not shown.
41 changes: 14 additions & 27 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,19 @@
name: cppcheck-action
on: [push]
name: Cppcheck

on:
push:
pull_request:

jobs:
build:
name: cppcheck
cppcheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: cppcheck
uses: deep5050/cppcheck-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN}}
# check_library:
# skip_preprocessor:
enable: all
exclude_check: ../../src/third_party/**
# inconclusive:
# inline_suppression:
force_language: c++
# force:
# max_ctu_depth:
# platform:
std: c++11
# output_file:
# other_options:
- name: Checkout code
uses: actions/checkout@v2

- name: Install cppcheck
run: sudo apt-get install -y cppcheck

- name: publish report
uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: 'main' # your branch name goes here
- name: Run cppcheck
run: cppcheck --version && cppcheck . --error-exitcode=1

0 comments on commit b0d548f

Please sign in to comment.