Skip to content

Bump ruff from 0.15.21 to 0.16.0 #17

Bump ruff from 0.15.21 to 0.16.0

Bump ruff from 0.15.21 to 0.16.0 #17

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
pull-requests: read
env:
UV_LOCKED: "1"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- run: uv sync
- run: uv run ruff check .
- run: uv run ruff format --check .
typecheck:
name: Type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- run: uv sync
- run: uv run mypy
test:
name: Eval suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- run: uv sync
- run: uv run python evals/run_evals.py --verbose
security:
name: Security
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- run: uv sync
- name: pip-audit (dependency CVEs)
run: uv run pip-audit
- name: bandit (Python SAST)
run: uv run bandit -r scripts -c pyproject.toml
- name: gitleaks (secret scan)
uses: gitleaks/gitleaks-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}