Skip to content

Commit

Permalink
Update clang-format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cpt-harlock authored Jan 2, 2025
1 parent 0a95aa4 commit 9548bbc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
done < files_to_check.txt
if [ -f clang-format-diff.txt ]; then
echo "\nThe following files have style issues:" && cat clang-format-diff.txt
echo "\nThe following files have style issues:" >> $GITHUB_OUTPUT && cat clang-format-diff.txt >> $GITHUB_OUTPUT
echo "\nRun clang-format -i src/*.[ch] in order to fix" >> $GITHUB_OUTPUT
exit 1
fi
shell: bash
Expand All @@ -48,4 +49,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: clang-format-diff
path: clang-format-diff.txt
path: countdown/clang-format-diff.txt

0 comments on commit 9548bbc

Please sign in to comment.