Skip to content

Commit

Permalink
fix cppcheck (#33)
Browse files Browse the repository at this point in the history
* try new action

* add path

* remove path and add file

* fix action

* fix path

* add code

* try to debug

* try to debug

* try new action

* fix action name

* fix action name

* upload artifact
  • Loading branch information
martelkr authored Jan 2, 2024
1 parent 8f9d55c commit 17e08ea
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -3,24 +3,24 @@ name: cppcheck
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
actions: write
contents: write

jobs:
Linux-cppcheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: cppcheck
uses: chmorgan/cppcheck-action-jackson@main

- uses: Bedzior/run-cppcheck@v1.0.0
with:
include directories: inc
path: test
verbose: true

- name: Upload report
uses: actions/upload-artifact@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN}}
enable: all
inline_suppression: enable
force_language: c++
platform: unix64
std: c++20
other_options: -I inc --verbose --suppress=missingIncludeSystem
name: report
path: output

0 comments on commit 17e08ea

Please sign in to comment.