mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 04:00:42 +00:00
fix: install uv for mypy section in pre-commit workflow
The mypy section runs after pre-commit and needs uv to run 'uv sync' and 'uv run mypy'. Add setup-uv step before the mypy configuration.
This commit is contained in:
parent
0d6c304468
commit
8046588f29
1 changed files with 6 additions and 0 deletions
6
.github/workflows/pre-commit.yml
vendored
6
.github/workflows/pre-commit.yml
vendored
|
|
@ -127,6 +127,12 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Install uv for mypy
|
||||||
|
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
|
||||||
|
with:
|
||||||
|
python-version: "3.12"
|
||||||
|
version: 0.7.6
|
||||||
|
|
||||||
- name: Configure client installation
|
- name: Configure client installation
|
||||||
id: client-config
|
id: client-config
|
||||||
uses: ./.github/actions/install-llama-stack-client
|
uses: ./.github/actions/install-llama-stack-client
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue