graphiti/.github/workflows/lint.yml
Daniel Chalef 73ec0146ff
ruff action (#17)
* ruff action

* chore: Update Python version to 3.10 in lint.yml workflow

* fix lint and formatting

* cleanup
2024-08-22 13:06:42 -07:00

24 lines
534 B
YAML

name: Lint with Ruff
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
ruff:
environment: development
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "ruff>0.1.7"
- name: Run Ruff linting
run: ruff check --output-format=github