Skip to content

Commit

Permalink
reorder cache key since changes in the hash are more common
Browse files Browse the repository at this point in the history
  • Loading branch information
ckleemann committed Jan 31, 2021
1 parent c06a551 commit 4d7cc2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-{{ hashFiles('requirements.txt') }}-${{ matrix.python-version }}
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-{{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-{{ hashFiles('requirements.txt') }}
${{ runner.os }}-pip-${{ matrix.python-version }}
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
Expand Down

0 comments on commit 4d7cc2b

Please sign in to comment.