mirror of https://github.com/snachodog/mybuddy.git
Cache lock file along with dependencies
This commit is contained in:
parent
5799c15f03
commit
a072868a16
|
@ -20,7 +20,9 @@ jobs:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.local/share/virtualenvs
|
path: |
|
||||||
|
~/.local/share/virtualenvs
|
||||||
|
Pipfile.lock
|
||||||
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -26,7 +26,9 @@ jobs:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.local/share/virtualenvs
|
path: |
|
||||||
|
~/.local/share/virtualenvs
|
||||||
|
Pipfile.lock
|
||||||
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
||||||
- uses: github/codeql-action/init@v2
|
- uses: github/codeql-action/init@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -18,7 +18,9 @@ jobs:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.local/share/virtualenvs
|
path: |
|
||||||
|
~/.local/share/virtualenvs
|
||||||
|
Pipfile.lock
|
||||||
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
||||||
- name: Install pipenv
|
- name: Install pipenv
|
||||||
run: python -m pip install --upgrade pipenv wheel
|
run: python -m pip install --upgrade pipenv wheel
|
||||||
|
|
Loading…
Reference in New Issue