mirror of
https://github.com/codespell-project/codespell.git
synced 2025-08-06 18:24:41 +08:00
27 lines
426 B
YAML
27 lines
426 B
YAML
name: mypy
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
mypy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.8'
|
|
|
|
- name: Install dependencies
|
|
run: pip install -e .[types]
|
|
|
|
- name: Run mypy
|
|
run: mypy .
|