Skip to content

Feature: Support downloading model weights on-the-fly from HuggingFace (#166) #564

Feature: Support downloading model weights on-the-fly from HuggingFace (#166)

Feature: Support downloading model weights on-the-fly from HuggingFace (#166) #564

Workflow file for this run

name: code checks
on:
push:
branches:
- main
- develop
paths:
- .pre-commit-config.yaml
- .github/workflows/code_checks.yml
- '**.py'
- uv.lock
- pyproject.toml
- '**.ipynb'
pull_request:
branches:
- main
- develop
paths:
- .pre-commit-config.yaml
- .github/workflows/code_checks.yml
- '**.py'
- uv.lock
- pyproject.toml
- '**.ipynb'
jobs:
run-code-check:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
# Install a specific version of uv.
version: "0.5.21"
enable-cache: true
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --dev --prerelease=allow
- name: Install dependencies and check code
run: |
source .venv/bin/activate
pre-commit run --all-files
- name: pip-audit (gh-action-pip-audit)
uses: pypa/[email protected]
with:
virtual-environment: .venv/
# Temporary: ignore pip advisory until fixed in pip>=25.3
ignore-vulns: GHSA-4xh5-x5gv-qwph