Skip to content

Commit 88134f1

Browse files
JesseArik Fraimovich
authored andcommitted
Fix failing checks by updating the hash key (#23)
* Update hash key * Make it so future repository renames won't affect checks. * Double check commit that proves the repository name hash key is functional. In github actions you should see the environment is retrieved from cache as of this commit.
1 parent 383ef84 commit 88134f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/cache@v2
3333
with:
3434
path: .venv
35-
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
35+
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}
3636
#----------------------------------------------
3737
# install dependencies if cache does not exist
3838
#----------------------------------------------
@@ -80,7 +80,7 @@ jobs:
8080
uses: actions/cache@v2
8181
with:
8282
path: .venv
83-
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
83+
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}
8484
#----------------------------------------------
8585
# install dependencies if cache does not exist
8686
#----------------------------------------------

0 commit comments

Comments
 (0)