diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index e7b71eb40..64d0cff41 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -141,12 +141,11 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - with: - python-version: "3.x" + with: { python-version: "3.12" } - name: Force recreation of pre-commit virtual environment for mypy if: github.event_name == 'schedule' run: gh cache list -L 999 | cut -f2 | grep pre-commit | xargs -I{} gh cache delete "{}" || true env: { GH_TOKEN: "${{ github.token }}" } - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1