Added proof requirements to entry recreation #1947
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 CAP Line Endings' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
lineendings: | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get update && sudo apt-get install dos2unix | |
- uses: actions/checkout@v2 | |
- run: (ls core/cap-*.md | xargs -I '{}' sh -c 'cat {} | dos2unix | cmp - {}') || (echo 'Documents listed above contain CRLF line endings, and should be LF.'; exit 1) |