Skip to content

add codespell workflow #1

add codespell workflow

add codespell workflow #1

Workflow file for this run

# A Github action that using codespell to check spelling.
# see .codespell/* for configs
# https://github.com/codespell-project/codespell
name: codespell
on:
# Triggers the workflow on push or pull request against main
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install codespell requirements
run: pip install -r ./.codespell/requirements.txt
- name: Spell check
run: codespell --config=./.codespell/codespellrc