Skip to content

Create ci.yml

Create ci.yml #1

Workflow file for this run

---
name: CI
on:
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: eifinger/setup-rye@v3
- name: Lint with ruff
run: |
rye lint -- --output-format=github
- name: Format with ruff
run: |
rye fmt -- --diff .