зеркало из https://github.com/github/licensed.git
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:
Родитель
ccffc66ff4
Коммит
31ef9be906
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче