name: mypy on: [push, pull_request] jobs: check: runs-on: ubuntu-latest strategy: matrix: python-version: [3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - uses: abatilo/actions-poetry@v2.1.3 - name: Install dependencies run: | poetry install - name: Run tests run: poetry run mypy