Skip to content

Commit

Permalink
Run mypy without dedicated action
Browse files Browse the repository at this point in the history
  • Loading branch information
theCapypara committed Aug 6, 2024
1 parent e944ad6 commit f8735b0
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ jobs:
python-version: [ "3.10", "3.11", "3.12", "3.13.0-beta.4" ]
steps:
- uses: actions/checkout@v4
- uses: theCapypara/mypy-check@rust-support
name: Run type checks
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
mypy_flags: '--config-file mypy.ini'
requirements: '-r requirements.txt'
python_version: '${{ matrix.python-version }}'
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt mypy
- name: Run type checks
run: |
mypy --config-file mypy.ini
build-sdist:
name: Build SDist
Expand Down

0 comments on commit f8735b0

Please sign in to comment.