Merge remote-tracking branch 'origin/main' into update-workflow #18
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: Linter | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
links_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run linkspector | |
uses: umbrelladocs/action-linkspector@v1 | |
with: | |
filter_mode: nofilter | |
fail_on_error: true | |
spell_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyenchant | |
sudo apt-get install -y aspell-ru hunspell-ru | |
- name: Run spell checker | |
run: | | |
python scripts/spell_check.py |