Skip to content

Commit

Permalink
ci: Use exact Python version for caching
Browse files Browse the repository at this point in the history
  • Loading branch information
malmeloo authored Sep 17, 2024
1 parent f9944be commit e1787e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/setup-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ runs:

steps:
- name: Set up Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
Expand All @@ -35,7 +36,7 @@ runs:
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-python-${{ inputs.python-version }}-groups-${{ steps.cache-key.outputs.key }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ runner.os }}-python-${{ steps.setup-python.outputs.version }}-groups-${{ steps.cache-key.outputs.key }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down

0 comments on commit e1787e7

Please sign in to comment.