We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edaed5f commit aaa1cf3Copy full SHA for aaa1cf3
1 file changed
.github/workflows/check_format.yml
@@ -13,7 +13,7 @@ jobs:
13
sudo apt-get update
14
sudo apt-get install clang-format
15
- name: "Format Codes"
16
- run: shopt -s globstar && clang-format -i src/**/*.cpp src/**/*.h src/**/*.hpp
+ run: find src/ -type f \( -name "*.cpp" -o -name "*.h" -o -name "*.hpp" \) -exec clang-format -i {} +
17
- name: Check diff
18
run: git diff --exit-code HEAD
19
- name: Create Pull Request
0 commit comments