Skip to content

Commit 8fd6407

Browse files
committed
Add Python version in Poetry cache in GitHub Actions
1 parent 7c5ea4e commit 8fd6407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ jobs:
7171
- uses: actions/cache@v2
7272
with:
7373
path: ~/.cache/pip
74-
key: ${{ runner.os }}-python-${{ hashFiles('**/pyproject.toml') }}
74+
key: ${{ runner.os }}-python-py310-${{ hashFiles('**/pyproject.toml') }}
7575
restore-keys: |
76-
${{ runner.os }}-python-
76+
${{ runner.os }}-python-py310-
7777
# Disabling experimental installer for compatibility with Python 3.10.
7878
# See https://github.com/python-poetry/poetry/issues/4210.
7979
- run: poetry config experimental.new-installer false

0 commit comments

Comments
 (0)