Skip to content

Add fallback model for DSPy inference #364

Add fallback model for DSPy inference

Add fallback model for DSPy inference #364

name: Lint
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- '**'
paths-ignore:
- '.github/workflows/**'
jobs:
lint:
if: github.event_name == 'pull_request' || github.event.pull_request == null
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read Python version
run: echo "PYTHON_VERSION=$(cat .python-version | tr -d '\n')" >> $GITHUB_ENV
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Add uv to path
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Setup
run: make setup
- name: Run ruff
run: make ruff