Add python version to cache key

Prevents conflicts
This commit is contained in:
Martin Whitehouse 2022-08-05 10:09:00 +02:00
parent 6b0400dbcd
commit cb35578b70
No known key found for this signature in database
GPG Key ID: 8492A7A45769CD35

View File

@ -21,7 +21,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-testing.txt')}}-${{ hashFiles('tox.ini') }}
key: ${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-testing.txt')}}-${{ hashFiles('tox.ini') }}-${{ matrix.python-version }}
- name: Install dependencies
run: |