We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779402c commit 151fb04Copy full SHA for 151fb04
.github/workflows/ci.yml
@@ -47,13 +47,26 @@ jobs:
47
- name: Check For Trailing Whitespace
48
run: |
49
set +e
50
- grep --exclude="README.md" --exclude-dir="portable" -rnI -e "[[:blank:]]$" .
+ grep --exclude="*.md" --exclude-dir=".git" -rnI -e "[[:blank:]]$" .
51
if [ "$?" = "0" ]; then
52
echo "Files have trailing whitespace."
53
exit 1
54
else
55
exit 0
56
fi
57
+ shell: bash
58
+ - name: Check for CRLF
59
+ working-directory: ${{ inputs.path }}
60
+ run: |
61
+ set +e
62
+ find . -path ./.git -prune -o -exec file {} + | grep "CRLF"
63
+ if [ "$?" = "0" ]; then
64
+ echo "Files have CRLF line endings."
65
+ exit 1
66
+ else
67
+ exit 0
68
+ fi
69
70
71
url-check:
72
runs-on: ubuntu-latest
0 commit comments