bust python cache
@@ -142,9 +142,12 @@ jobs:
path: |
~/.cache/pip
virtualenv
- key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}
+ # TODO: maybe make the virtualenv a partial cache to exclude st2*?
+ # !virtualenv/lib/python*/site-packages/st2*
+ # !virtualenv/bin/st2*
+ key: ${{ runner.os }}-python-${{ matrix.python-version }}-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}
restore-keys: |
- ${{ runner.os }}-${{ matrix.python }}-
+ ${{ runner.os }}-python-${{ matrix.python }}-
- uses: actions/cache@v2
with:
path: |
