Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
esseivaju committed Dec 4, 2024
1 parent c7f26bc commit cc816ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ jobs:
echo "First PR commit: $FIRST_PR_HASH"
ALL_FILES=$(git diff --name-only --diff-filter=ACM "$FIRST_PR_HASH^" HEAD^2)
echo "All files: $ALL_FILES"
CC_FILES=$(set +e; grep -E '^(src|app|example)/.*\.cc$' - <<< "$ALL_FILES")
set +e
CC_FILES=$(grep -E '^(src|app|example)/.*\.cc$' - <<< "$ALL_FILES")
set -e
echo "Files to check: $CC_FILES"
if [ -z "$FILES" ]; then
echo "No files to run clang-tidy on."
Expand Down

0 comments on commit cc816ee

Please sign in to comment.