mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-19 08:33:23 +02:00
ci: reorder steps in Python workflow to remove old lock files before compiling fresh lock file
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user