We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5c9941 commit 87cf544Copy full SHA for 87cf544
1 file changed
.github/workflows/codeChecks.yml
@@ -123,7 +123,14 @@ jobs:
123
pip install cmakelint
124
echo "==================Running cmakelint====================================="
125
FILES=$(find . -name "CMakeLists.txt" | grep -vE "(^./CMakeFiles/.|^./_deps/)")
126
- for file in $FILES; do cmakelint $file >> ./cmakelint-format-report.txt; done
+ : > ./cmakelint-format-report.txt
127
+ for file in $FILES; do
128
+ {
129
+ echo "===== $file ====="
130
+ cmakelint "$file"
131
+ echo
132
+ } >> ./cmakelint-format-report.txt 2>&1 || true
133
+ done
134
- name: Upload cmakelint-format report to git hub storage to use later
135
uses: actions/upload-artifact@v4
136
with:
0 commit comments