Switch all line endings to unix
Adds CRLF check to formatting CI check.
Switches all line endings to unix.
@@ -140,6 +140,16 @@ jobs:
else
exit 0
fi
+ - name: Check for CRLF
+ run: |
+ set +e
+ find . -path ./.git -prune -o -exec file {} + | grep "CRLF"
+ if [ "$?" = "0" ]; then
+ echo "Files have CRLF line endings."
+ exit 1
+ else
+ exit 0
+ fi
doxygen:
runs-on: ubuntu-20.04
steps:
