Skip to content

Commit

Permalink
Check for CRLF line endings in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Aratz committed Sep 20, 2024
1 parent e00eeb4 commit 331357d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Check for CRLF line endings
run: >
! find . -type f -name "*.py"
| grep -v '\.git/'
| xargs file
| grep CRLF
- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand Down

0 comments on commit 331357d

Please sign in to comment.