Advance the search read pointer from the reindex instead of a chain (PP-4908) #20931
This file contains hidden or 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: Lint | |
| on: [push, pull_request] | |
| env: | |
| PYTHON_VERSION: "3.12" | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v9.0.0 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: uv.lock | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| activate-environment: true | |
| - name: Install Pre-commit | |
| run: uv sync --frozen --only-group ci | |
| - name: Restore pre-commit cache | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.cache/pre-commit | |
| key: pre-commit-${{ runner.os }}-py${{ env.PYTHON_VERSION }}-${{ hashFiles('.pre-commit-config.yaml') }} | |
| restore-keys: pre-commit-${{ runner.os }}-py${{ env.PYTHON_VERSION }} | |
| - name: Lint | |
| run: pre-commit run --all-files --show-diff-on-failure |