Add python version to cache key (#187)

Closes: #182
This commit is contained in:
Kevin Stillhammer
2024-12-13 20:52:12 +01:00
committed by GitHub
parent e3017a763c
commit 856099c958
8 changed files with 167 additions and 3 deletions

View File

@ -214,3 +214,16 @@ jobs:
- name: Remove cache dependency glob file
run: rm -f ~/uv-cache.glob
shell: bash
test-no-python-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fake pyproject.toml at root
run: cp __tests__/fixtures/old-python-constraint-project/pyproject.toml pyproject.toml
- name: Setup with cache
uses: ./
with:
enable-cache: true
- run: uv sync
working-directory: __tests__/fixtures/old-python-constraint-project