Skip to content

Commit

Permalink
Add extra-hatch-configuration to the cache config in Github workflo…
Browse files Browse the repository at this point in the history
…ws (#1295)

Since the files in `extra-hatch-configuration` are used to specify
project dependencies, updates to those files should affect how the
environment is cached in Github workflows.
  • Loading branch information
plypaul authored Jun 21, 2024
1 parent db4613b commit 598b453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/setup-python-env/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ runs:
key: >-
python_location: "${{ env.pythonLocation }}" AND
pyproject_hash: "${{ hashFiles('pyproject.toml') }}" AND
extra_hatch_configuration_hash: "${{ hashFiles('**/extra-hatch-configuration/*') }}" AND
precommit_config_hash: "${{ hashFiles('.pre-commit-config.yaml') }}" AND
linux_release: "${{ env.LINUX_RELEASE }}"
Expand Down

0 comments on commit 598b453

Please sign in to comment.