haystack/.github/workflows/docstrings_linting.yml
Stefano Fiorucci 7788bfe558
ci: upgrade Hatch to 1.13.0 and adopt uv as installer (#8313)
* try uv

* upgrade hatch

* rm unnecessary specification

* release note
2024-10-17 10:32:14 +02:00

29 lines
490 B
YAML

name: run docstrings linting
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths:
- "**.py"
env:
HATCH_VERSION: "1.13.0"
jobs:
docstrings-linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Hatch
run: pip install hatch==${{ env.HATCH_VERSION }}
- name: ruff docstrings linting
run: hatch run ruff check haystack