Skip to content

Commit dbaf6fb

Browse files
committed
Added cache pip to CI workflows
1 parent 5eafa06 commit dbaf6fb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jobs:
2525
with:
2626
python-version: "3.11"
2727

28+
# Cache pip dependencies
29+
- name: Cache pip
30+
uses: actions/cache@v4
31+
with:
32+
path: ~/.cache/pip
33+
key: ${{ runner.os }}-pip-${{ hashFiles('backend/requirements.txt') }}
34+
restore-keys: |
35+
${{ runner.os }}-pip
36+
2837
# Install dependencies
2938
- name: Install dependencies
3039
run: |

0 commit comments

Comments
 (0)