Skip to content

Update GitHub Actions #89

Update GitHub Actions

Update GitHub Actions #89

Workflow file for this run

name: lint
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Ruff format
uses: chartboost/ruff-action@v1
with:
args: format --check
- name: Ruff lint
uses: chartboost/ruff-action@v1
- uses: yezz123/setup-uv@v4
- name: Mypy
run: |
uv pip install -r requirements.txt
uv pip install -e '.[dev]'
mypy src/