Skip to content

Commit

Permalink
Don't recursively scan for pyproject.toml when calculating the cache key
Browse files Browse the repository at this point in the history
Signed-off-by: Flora <[email protected]>
  • Loading branch information
flora-hofmann-frequenz committed May 16, 2024
1 parent cc29b35 commit c57fbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
uses: actions/cache@v4
with:
path: /tmp/pip-cache
key: nox-${{ matrix.nox-session }}-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.python }}-${{ hashFiles('**/pyproject.toml') }}
key: nox-${{ matrix.nox-session }}-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }}

# This ensures that the docker container has access to the pip cache.
# Changing the user in the docker-run step causes it to fail due to
Expand Down

0 comments on commit c57fbd1

Please sign in to comment.