Minimal single attestation #2639
Workflow file for this run
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
# A Github action that uses codespell to check spell. | |
# .codespell/.codespellrc is a config file. | |
# .codespell/wordlist.txt is a list of words that will ignore word checks. | |
# More details please check the following link: | |
# https://github.com/codespell-project/codespell | |
name: Codespell | |
on: pull_request | |
jobs: | |
codespell: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Set up a Python venv and install prerequisites | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
pip install codespell | |
- name: Spell check | |
run: | | |
source venv/bin/activate | |
codespell --config=./.codespell/.codespellrc |