mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-06 18:40:57 +00:00
wip
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
ec702ac3fb
commit
38de8ea1f7
12 changed files with 26571 additions and 24377 deletions
|
|
@ -110,11 +110,20 @@ repos:
|
|||
name: API Spec Codegen
|
||||
additional_dependencies:
|
||||
- uv==0.7.8
|
||||
entry: sh -c './scripts/uv-run-with-index.sh run scripts/fastapi_generator.py docs/static'
|
||||
entry: sh -c './scripts/uv-run-with-index.sh run scripts/run_openapi_generator.sh'
|
||||
language: python
|
||||
pass_filenames: false
|
||||
require_serial: true
|
||||
files: ^src/llama_stack/apis/
|
||||
- id: openapi-validate
|
||||
name: OpenAPI Schema Validation
|
||||
additional_dependencies:
|
||||
- uv==0.7.8
|
||||
entry: uv run scripts/validate_openapi.py docs/static/ --quiet
|
||||
language: python
|
||||
pass_filenames: false
|
||||
require_serial: true
|
||||
files: ^docs/static/.*\.ya?ml$
|
||||
- id: check-workflows-use-hashes
|
||||
name: Check GitHub Actions use SHA-pinned actions
|
||||
entry: ./scripts/check-workflows-use-hashes.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue