feat(Weaviate): Enforce capitalized index name #4964
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruff Style Check | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, auto_merge_enabled] | |
jobs: | |
lint: | |
name: Ruff Style Check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "pyproject.toml" | |
- name: Restore uv cache | |
uses: actions/cache@v4 | |
with: | |
path: /tmp/.uv-cache | |
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }} | |
restore-keys: | | |
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }} | |
uv-${{ runner.os }} | |
- name: Register problem matcher | |
run: echo "::add-matcher::.github/workflows/matchers/ruff.json" | |
- name: Run Ruff Check | |
run: uv run --only-dev ruff check --output-format=github . | |
- name: Minimize uv cache | |
run: uv cache prune --ci |