ci: reorder steps in Python workflow to remove old lock files before compiling fresh lock file
This commit is contained in:
parent
e845fdb9f2
commit
5b4675ec13
1 changed files with 3 additions and 3 deletions
6
.github/workflows/python.yml
vendored
6
.github/workflows/python.yml
vendored
|
|
@ -36,14 +36,14 @@ jobs:
|
|||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v3
|
||||
|
||||
- name: Remove old lock file (if present)
|
||||
run: rm -f ./src/sqlite/uv.lock ./src/time/uv.lock ./src/fetch/uv.lock ./src/sentry/uv.lock ./src/git/uv.lock
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version-file: "src/${{ matrix.package }}/.python-version"
|
||||
|
||||
- name: Remove old lock file (if present)
|
||||
run: rm -f ./src/sqlite/uv.lock ./src/time/uv.lock ./src/fetch/uv.lock ./src/sentry/uv.lock ./src/git/uv.lock
|
||||
|
||||
- name: Compile fresh lock file
|
||||
run: uv pip compile --all-extras --dev
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue