From: David Lord Date: Wed, 24 Feb 2021 17:49:31 +0000 (-0800) Subject: cache mypy in ci X-Git-Tag: 3.0.0rc1~32^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f182be55b650998da532fe94484215ddcf738a7;p=thirdparty%2Fjinja.git cache mypy in ci --- diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e656dcf8..d52088f9 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -50,5 +50,11 @@ jobs: with: path: ${{ steps.pip-cache.outputs.dir }} key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }} + - name: cache mypy + uses: actions/cache@v2 + with: + path: ./.mypy_cache + key: mypy|${{ matrix.python }}|${{ hashFiles('setup.cfg') }} + if: matrix.tox == 'typing' - run: pip install tox - run: tox -e ${{ matrix.tox }}