Skip to content

Enable auto-rebuild in scikit-build-core at import time #57

Enable auto-rebuild in scikit-build-core at import time

Enable auto-rebuild in scikit-build-core at import time #57

Workflow file for this run

name: Format and Lint
on:
pull_request:
branches:
- main
- master
jobs:
format-and-lint:
name: Format and Lint Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install pixi
uses: prefix-dev/[email protected]
with:
pixi-version: "latest"
cache: false # pixi is too large to cache (contains CUDA toolkit)
- name: Check formatting
run: |
pixi run format
if [ -n "$(git status --porcelain)" ]; then
echo "❌ Files were not properly formatted. Run 'pixi run format' to fix."
git diff
exit 1
fi
- name: Lint code
run: pixi run lint