Skip to content

GitHub Action to find typos and lint Python code #1

GitHub Action to find typos and lint Python code

GitHub Action to find typos and lint Python code #1

Workflow file for this run

# This Action uses minimal steps to run in ~5 seconds to rapidly:
# look for typos in the codebase using codespell, and
# lint Python code using ruff and provide intuitive GitHub Annotations to contributors.
# https://github.com/codespell-project/codespell#readme
# https://docs.astral.sh/ruff/
name: ci
on:
push:
# branches: [main, master]
pull_request:
# branches: [main, master]
jobs:
codespell:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
ignore_words_list: dout,ser,tre
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
with:
args: check --exit-zero