From 993809c972dca243fe0135500d7725849509e5ea Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Tue, 8 Dec 2020 11:44:59 -0500 Subject: [PATCH] Tagging Python Version in Key --- .github/workflows/pr-actions.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-actions.yml b/.github/workflows/pr-actions.yml index 3160caf0..20470072 100644 --- a/.github/workflows/pr-actions.yml +++ b/.github/workflows/pr-actions.yml @@ -23,9 +23,9 @@ jobs: uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-lint-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }} + key: ${{ runner.os }}-${{ matrix.python-version }}-pip-lint-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }} restore-keys: | - ${{ runner.os }}-pip-lint + ${{ runner.os }}-${{ matrix.python-version }}-pip-lint - name: Run Linting run: | @@ -62,9 +62,9 @@ jobs: uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-install-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }} + key: ${{ runner.os }}-${{ matrix.python-version }}-pip-install-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }} restore-keys: | - ${{ runner.os }}-pip-install + ${{ runner.os }}-${{ matrix.python-version }}-pip-install - name: Make Deps run: make deps @@ -102,9 +102,9 @@ jobs: uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-coverage-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }} + key: ${{ runner.os }}-${{ matrix.python-version }}-pip-coverage-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/requirements.txt') }} restore-keys: | - ${{ runner.os }}-pip-coverage + ${{ runner.os }}-${{ matrix.python-version }}-pip-coverage - name: Make Deps run: |