mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
Run static checks with --upgrade, remove lockfile check (#2988)
This commit is contained in:
parent
606ce46db1
commit
b77484e1a7
2 changed files with 3 additions and 11 deletions
10
.github/workflows/run-static.yml
vendored
10
.github/workflows/run-static.yml
vendored
|
|
@ -38,16 +38,8 @@ jobs:
|
|||
cache-dependency-glob: "uv.lock"
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv sync
|
||||
run: uv sync --upgrade
|
||||
|
||||
- name: Check lockfile is up to date
|
||||
run: |
|
||||
if ! uv lock --check; then
|
||||
echo "❌ Lockfile is out of date!"
|
||||
echo "To update the lockfile, run 'uv lock'."
|
||||
exit 1
|
||||
fi
|
||||
echo "✅ Lockfile is up to date"
|
||||
- name: Run prek
|
||||
uses: j178/prek-action@v1
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ async def subscribe_to_task_updates(
|
|||
task_id=task_id,
|
||||
task_key=task_key,
|
||||
docket=docket,
|
||||
state=event["state"],
|
||||
state=ExecutionState(event["state"]),
|
||||
poll_interval_ms=poll_interval_ms,
|
||||
)
|
||||
elif event["type"] == "progress":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue