litellm/.github/workflows/test-model-map.yaml
yuneng-berri 15526feb6a
ci: install stable Rust toolchain before building the package
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
2026-07-30 17:41:40 +00:00

36 lines
948 B
YAML

name: Validate model_prices_and_context_window.json
on:
pull_request:
branches:
- main
- litellm_internal_staging
- litellm_oss_staging
- "litellm_**"
permissions:
contents: read
jobs:
validate-model-prices-json:
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
persist-credentials: false
- name: Validate model_prices_and_context_window.json
run: |
jq empty model_prices_and_context_window.json
- name: Set up Rust toolchain
uses: ./.github/actions/setup-rust-toolchain
- name: Set up uv
uses: ./.github/actions/setup-uv-with-retries
with:
version: "0.10.9"
- name: Check model_prices_and_context_window.schema.json is in sync
run: |
uv run --frozen python ci_cd/generate_model_prices_schema.py --check