Skip to content

Commit

Permalink
Add pip dependency cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Dec 16, 2022
1 parent c1de64d commit e7851fd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,22 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:

- uses: actions/checkout@v1

- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Cache pip deps
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 e7851fd

Please sign in to comment.