fix(operator): Set appProtocol: grpc on registry gRPC Service #20593
Workflow file for this run
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: linter | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-python: | |
| runs-on: [ubuntu-latest] | |
| env: | |
| PYTHON: 3.11 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| id: setup-python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| architecture: x64 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: | | |
| make install-python-dependencies-ci | |
| - name: Run pre-commit checks | |
| uses: pre-commit/[email protected] | |
| - name: Cache MyPy | |
| uses: actions/cache@v4 | |
| with: | |
| path: sdk/python/.mypy_cache | |
| key: mypy-${{ runner.os }}-py${{ env.PYTHON }}-${{ hashFiles('pyproject.toml', 'sdk/python/pyproject.toml', 'sdk/python/requirements/*.txt') }} | |
| restore-keys: | | |
| mypy-${{ runner.os }}-py${{ env.PYTHON }}- | |
| mypy-${{ runner.os }}- | |
| - name: Lint python | |
| run: make lint-python | |
| - name: Minimize uv cache | |
| run: uv cache prune --ci |