Skip to content

ci

ci #2

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 📦 Install uv
uses: astral-sh/setup-uv@v4
- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: 🦾 Install the project
run: uv sync
- name: 💅 Format
run: uv run ruff format
- name: 🚀 Publish
run: |
uv build
uv publish --token $UV_PUBLISH_TOKEN