Skip to content

Phase 1 foundation: kherud fork + repo scaffolding #8

Phase 1 foundation: kherud fork + repo scaffolding

Phase 1 foundation: kherud fork + repo scaffolding #8

Workflow file for this run

# Lint Python scripts under scripts/ — fast, no Java, no model deps.
name: scripts-ci
on:
push:
branches: [main]
paths:
- "scripts/**"
- ".github/workflows/scripts-ci.yml"
pull_request:
paths:
- "scripts/**"
- ".github/workflows/scripts-ci.yml"
concurrency:
group: scripts-ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: pip
cache-dependency-path: scripts/requirements.txt
- name: Install lint tooling
run: pip install -r scripts/requirements.txt
- name: Compile-check
run: python3 -m py_compile scripts/fetch_models.py scripts/verify_models.py
- name: Ruff
run: ruff check scripts/
- name: Pyright
run: pyright --warnings scripts/