Skip to content

Commit

Permalink
Ci/add cpp check (#38)
Browse files Browse the repository at this point in the history
* ci: add cppcheck

Signed-off-by: kminoda <[email protected]>

* apply to fixed file

Signed-off-by: kminoda <[email protected]>

* fix

Signed-off-by: kminoda <[email protected]>

* add rev-list

Signed-off-by: kminoda <[email protected]>

---------

Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda authored Jun 4, 2024
1 parent 89d0b69 commit 935b341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cpp-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Get changed files
id: changed-files
run: |
git rev-list --count origin/main..$(git branch --show-current)
git fetch origin ${{ github.base_ref }} --depth=1
git diff --name-only origin/${{ github.base_ref }} ${{ github.head_ref }} > changed_files.txt
cat changed_files.txt
Expand Down

0 comments on commit 935b341

Please sign in to comment.