Merge pull request #615 from FriendsOfSymfony/fix-interlinking #207
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: Spellcheck | |
on: | |
push: | |
branches: | |
- "*.x" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade setuptools | |
python -m pip install -r Resources/doc/requirements.txt | |
- name: Run spell check | |
run: | | |
make -C Resources/doc/ spelling | |
if [[ -s "Resources/doc/_build/spelling/output.txt" ]]; then echo "\nSpelling errors found\n" && cat "Resources/doc/_build/spelling/output.txt"; fi | |
if [[ -s "Resources/doc/_build/spelling/output.txt" ]]; then false; fi |