use caching provided by action

may not work for pipenv which doesn't have the
Pipfile.lock file committed to the repo
This commit is contained in:
Jon Ruskin 2022-12-22 15:54:47 -07:00
Родитель ccffc66ff4
Коммит 31ef9be906
1 изменённых файлов: 2 добавлений и 8 удалений

10
.github/workflows/test.yml поставляемый
Просмотреть файл

@ -322,19 +322,12 @@ jobs:
with:
python-version: ${{ matrix.python }}
architecture: x64
cache: pip
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- uses: actions/cache@v3
name: cache pip dependencies
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install virtualenv
run: pip install virtualenv
- name: Set up fixtures
@ -352,6 +345,7 @@ jobs:
with:
python-version: '3.x'
architecture: x64
cache: pipenv
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with: