Update astral-sh/setup-uv digest to 37802ad #46
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
| # Lint Python | |
| name: Python Lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| name: Lint Python | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| submodules: recursive | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7 | |
| - name: Install requirements | |
| run: uv sync --all-groups | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v3 | |
| - name: Protobuf Generation | |
| run: make | |
| - name: Run ruff check | |
| run: uv run ruff check . | |
| - name: Run ruff format | |
| run: uv run ruff format --check . | |
| - name: Run mypy | |
| run: uv run mypy . |