Bump hypothesis from 6.111.1 to 6.119.0 #2504
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Line Endings | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
check-line-endings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check for CRLF line endings | |
run: | | |
for file in $(git ls-files); do | |
if grep -q $'\r$' "$file"; then | |
echo "$file has faulty file endings" | |
fi | |
done | |
if git grep -I --name-only $'\r'; then | |
echo "CRLF line endings detected" | |
exit 1 | |
fi |