Add project toml and add uv to build #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic CI setup: Lint format with ruff | |
name: Format-check | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ] | |
jobs: | |
lint-format: | |
name: Ruff includes and format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Ruff check import sorting | |
uses: astral-sh/ruff-action@v1 | |
with: | |
args: "check --select I ." | |
- name: Ruff format diff | |
uses: astral-sh/ruff-action@v1 | |
with: | |
args: "format --diff ." | |