feat(ci): check spelling with typos-cli
crate
#57
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
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: install | |
env: | |
UV_SYSTEM_PYTHON: true | |
run: | | |
pip install uv && uv pip install pdm | |
pdm export --pyproject --dev --editable-self -o requirements.txt | |
uv pip install -r requirements.txt | |
- name: isort | |
run: isort . --check --diff | |
- name: black | |
run: black . --check --diff | |
- name: ruff | |
run: ruff check --output-format github | |
- name: pyright | |
run: npx pyright |