Skip to content

Commit

Permalink
attempts to add cache to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
spanashis committed Dec 26, 2023
1 parent bba90da commit 73f4968
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Caching dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 73f4968

Please sign in to comment.