Skip to content

Commit

Permalink
[ci] Dump clang-format config before check
Browse files Browse the repository at this point in the history
Sometimes the options don't seem quite the same, and this allows for
direct comparison with the local environment.
  • Loading branch information
grandchild committed Oct 27, 2024
1 parent d09e3de commit f176dd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
sudo apt-get install --yes --no-install-recommends -V clang-format-${clang_major_version}
echo "/usr/lib/llvm-${clang_major_version}/bin" >> "${GITHUB_PATH}"
- name: Dump clang-format config
run: |-
clang-format -dump-config -style=file
- name: Enforce clang-format clean
run: |-
clang_format_args=(
Expand Down

0 comments on commit f176dd5

Please sign in to comment.