[CI] Added Mypy cache
@@ -48,12 +48,18 @@ jobs:
- name: Install poetry
run: make download-poetry
- - name: Set up cache
+ - name: Set up pip cache
uses: actions/cache@v2.1.5
with:
path: ~/.cache/pypoetry/virtualenvs
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
+ - name: Set up mypy cache
+ uses: actions/cache@v2.1.5
+ with:
+ path: ${{ github.workspace }}/.mypy_cache
+ key: mypy-${{ matrix.python-version }}
+
- name: Set Poetry Path
run: |
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
