Skip to content

Commit 87cf544

Browse files
committed
#21 not fail even in case of issues
1 parent d5c9941 commit 87cf544

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/codeChecks.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,14 @@ jobs:
123123
pip install cmakelint
124124
echo "==================Running cmakelint====================================="
125125
FILES=$(find . -name "CMakeLists.txt" | grep -vE "(^./CMakeFiles/.|^./_deps/)")
126-
for file in $FILES; do cmakelint $file >> ./cmakelint-format-report.txt; done
126+
: > ./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
127134
- name: Upload cmakelint-format report to git hub storage to use later
128135
uses: actions/upload-artifact@v4
129136
with:

0 commit comments

Comments
 (0)