enable pip cache

This commit is contained in:
powderluv
2022-06-30 14:11:00 -07:00
committed by GitHub
parent e57cee21a5
commit 79e392d85f

View File

@@ -45,15 +45,7 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Setup pip cache
uses: actions/cache@v3
if: matrix.os == 'a100' || matrix.os == 'ubuntu-latest'
with:
path: ~/.cache/pip
key: ${{ matrix.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ matrix.os }}-pip-
cache: 'pip'
- name: Install dependencies
if: matrix.suite == 'lint'