diff options
author | David Lord <davidism@gmail.com> | 2021-02-24 09:49:31 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-02-24 09:49:31 -0800 |
commit | 6f182be55b650998da532fe94484215ddcf738a7 (patch) | |
tree | c52027f5318d6a1ff3a011cc8b9201662ac9e5c8 | |
parent | d2cef393550a7461dfe4ed2aeeba6ec83ce91d2a (diff) | |
download | jinja2-6f182be55b650998da532fe94484215ddcf738a7.tar.gz |
cache mypy in ci
-rw-r--r-- | .github/workflows/tests.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e656dcf..d52088f 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 }} |