Skip to content

Commit

Permalink
Add GH actions cache
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Jan 24, 2021
1 parent ca7a3da commit f22ea79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
Expand Down

0 comments on commit f22ea79

Please sign in to comment.