diff --git a/.github/workflows/stubtest-unused-whitelist.yml b/.github/workflows/stubtest-unused-whitelist.yml index f4fd9477b..8f6a3d4ed 100644 --- a/.github/workflows/stubtest-unused-whitelist.yml +++ b/.github/workflows/stubtest-unused-whitelist.yml @@ -25,10 +25,11 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + # Keep the mypy version in sync with what we use for stubtest in tests.yml - name: Install dependencies run: | python -m pip install -U pip - pip install -U git+git://github.com/python/mypy@24fdf343 + pip install -U git+git://github.com/python/mypy@master - name: Run stubtest shell: bash run: ./tests/stubtest_unused.py | tee stubtest-output-${{ matrix.os }}-${{ matrix.python-version }} || true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 909f3063f..a8ee5b784 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -113,6 +113,7 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + # Keep the mypy version in sync with what we use for stubtest in stubtest-unused-whitelist.yml - name: Install dependencies run: | python -m pip install -U pip