diff options
author | David Lord <davidism@gmail.com> | 2021-02-24 09:55:49 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-02-24 09:55:49 -0800 |
commit | ac82caf031d41377f9b3b95116b0d3338c3e1d27 (patch) | |
tree | 3d9d49d473f6e7f835edea8e2119f2a8056264e9 /.github/workflows | |
parent | 5ff34f8944b7881751e211df4af0b9b248d28cb7 (diff) | |
download | click-ac82caf031d41377f9b3b95116b0d3338c3e1d27.tar.gz |
cache mypy in ci
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/tests.yaml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bfef7d4..d52088f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -46,10 +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') }} - if: matrix.tox == 'style' + - 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 }} |