Skip to content

Publish workflow - fix syntax #2

Publish workflow - fix syntax

Publish workflow - fix syntax #2

Workflow file for this run

name: type-hints
on:
push:
branches: [ master ]
jobs:
check-typing:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install typing dependencies
run: |
python -m pip install --upgrade pip
python -m pip install mypy==0.971
python -m pip install --upgrade types-requests types-pkg_resources types-setuptools
- name: Run typing check with mypy
run: |
mypy