Skip to content

Commit

Permalink
github: Use full Python version in cache key (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeryan authored Jan 8, 2024
1 parent e051e25 commit c7203ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check_protos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
id: setup-python
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up Poetry
Expand All @@ -27,7 +28,7 @@ jobs:
uses: actions/cache@v3
with:
path: .github/check_protos/.venv
key: check-protos-${{ runner.os }}-py${{ env.PYTHON_VERSION }}-${{ hashFiles('.github/check_protos/poetry.lock') }}
key: check-protos-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('.github/check_protos/poetry.lock') }}
- name: Install dependencies
run: poetry install -v
working-directory: ./.github/check_protos
Expand Down

0 comments on commit c7203ae

Please sign in to comment.