Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yairgott committed Feb 7, 2025
1 parent 6e783cb commit 7dd746d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/clang_tidy_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: build-comp-db
run: |
echo "Building CompDB"
docker run --rm -v "$(pwd):/workspace" --user "ubuntu:ubuntu" clang-tidy-format-image bazel run @hedron_compile_commands//:refresh_all
docker run --rm -v "$(pwd):/workspace" --user "ubuntu:ubuntu" clang-tidy-format-image bazel --experimental_convenience_symlinks=ignore run @hedron_compile_commands//:refresh_all
- name: Find and process modified files
run: |
Expand All @@ -59,11 +59,7 @@ jobs:
for FILE in $MODIFIED_FILES; do
echo "Running script on $FILE"
docker run --rm \
-v "$(pwd):/workspace" \
--user "ubuntu:ubuntu" \
clang-tidy-format-image \
bash -c "clang-tidy --quiet -p compile_commands.json "$FILE" 2>&1 | tail -n +3 && ci/check_clang_format.sh "$FILE""
docker run --rm -v "$(pwd):/workspace" --user "ubuntu:ubuntu" clang-tidy-format-image clang-tidy --quiet -p compile_commands.json "$FILE" 2>&1 | tail -n +3 && ci/check_clang_format.sh "$FILE"
done
- name: Ensure script execution success
Expand Down

0 comments on commit 7dd746d

Please sign in to comment.