document the CLI flag assume_no_casting_overflow
#2205
This file contains hidden or 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: "spell and link check" | |
| on: [ pull_request ] | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| cache: 'pip' | |
| - run: sudo apt-get install libenchant-2-2 | |
| - run: pip3 install -r requirements.txt | |
| - run: make spelling | |
| - run: | | |
| find build/spelling -path *.spelling -type f | xargs cat > errors.txt | |
| [[ ! $(cat errors.txt) ]] || (echo && echo "errors:" && cat errors.txt && false) |