Skip to content

v0.1.2

v0.1.2 #6

Workflow file for this run

name: Checks
on:
pull_request:
types:
# default events to trigger actions
# ref: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
- opened
- synchronize
- reopened
# additional events to trigger actions
- labeled
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.6.10"
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install dependencies
run: uv pip install --group dev
env:
UV_SYSTEM_PYTHON: 1
- name: Ruff Check (linting)
run: ruff check --output-format=github .
- name: Ruff Format (formatting)
run: ruff format . --check