Skip to content

chore: setup environment #1

chore: setup environment

chore: setup environment #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync
- name: Check code format
run: uv run ruff format --check .
- name: Chack matadata
run: |
uv run nbdev_clean
git add .
git diff --name-only --exit-code