Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit bf0ba1b

Browse files
committed
Added caching to ci
1 parent 4ca2797 commit bf0ba1b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ jobs:
2424
with:
2525
python-version: ${{ env.PYTHON_VERSION }}
2626

27+
- name: Cache Virtual Environment
28+
uses: actions/cache@v3
29+
with:
30+
path: |
31+
~/.cache/pip
32+
~/.cache/pypoetry
33+
key: ${{ runner.os }}-venv-${{ hashFiles('poetry.lock') }}
34+
2735
- name: Setup poetry
2836
run: |
2937
pip install poetry poethepoet
@@ -48,6 +56,14 @@ jobs:
4856
# with:
4957
# python-version: ${{ env.PYTHON_VERSION }}
5058
#
59+
# - name: Cache Virtual Environment
60+
# uses: actions/cache@v3
61+
# with:
62+
# path: |
63+
# ~/.cache/pip
64+
# ~/.cache/pypoetry
65+
# key: ${{ runner.os }}-venv-${{ hashFiles('poetry.lock') }}
66+
#
5167
# - name: Setup poetry
5268
# run: |
5369
# pip install poetry poethepoet
@@ -72,6 +88,14 @@ jobs:
7288
with:
7389
python-version: ${{ env.PYTHON_VERSION }}
7490

91+
- name: Cache Virtual Environment
92+
uses: actions/cache@v3
93+
with:
94+
path: |
95+
~/.cache/pip
96+
~/.cache/pypoetry
97+
key: ${{ runner.os }}-venv-${{ hashFiles('poetry.lock') }}
98+
7599
- name: Setup poetry
76100
run: |
77101
pip install poetry poethepoet

0 commit comments

Comments
 (0)