Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda committed Jun 4, 2024
1 parent 59710a0 commit d4209b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cpp-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: changed-files
run: |
git fetch origin ${{ github.base_ref }} --depth=1
git diff --name-only ${{ github.base_ref }} ${{ github.head_ref }} > changed_files.txt
git diff --name-only origin/${{ github.base_ref }} ${{ github.head_ref }} > changed_files.txt
cat changed_files.txt
- name: Run Cppcheck on changed files
Expand All @@ -28,4 +28,4 @@ jobs:
cppcheck --enable=warning,style,performance --error-exitcode=1 $files
else
echo "No C++ files changed."
shell: bash
shell: bash

0 comments on commit d4209b4

Please sign in to comment.