diff options
author | David Lord <davidism@gmail.com> | 2021-02-24 10:04:05 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-02-24 10:04:05 -0800 |
commit | 002ead31755e54be4ddb56cee6f90fe2462871b6 (patch) | |
tree | 3c50d9a966936ca8b1bee51bf01764f54e2d4148 /.github | |
parent | c9ad9927d11f690a1572cfd399f12ec12edbc90f (diff) | |
download | markupsafe-002ead31755e54be4ddb56cee6f90fe2462871b6.tar.gz |
cache mypy in ci
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tests.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8dc97ef..d52088f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -46,9 +46,15 @@ jobs: id: pip-cache run: echo "::set-output name=dir::$(pip cache dir)" - name: cache pip - uses: actions/cache@v1 + uses: actions/cache@v2 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 }} |