Skip to content

Commit fa3d1b2

Browse files
committed
ci: install essential-only tools for python link workflow
1 parent 20a126c commit fa3d1b2

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/python-test.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,15 @@ jobs:
7676
uses: actions/setup-python@v4
7777
with:
7878
python-version: "3.11"
79-
- name: Setup Rust
80-
uses: actions-rust-lang/setup-rust-toolchain@v1
81-
- uses: Swatinem/rust-cache@v2
82-
with:
83-
workspaces: python
84-
cache-targets: false
85-
- name: Install system dependencies
86-
run: |
87-
sudo apt update
88-
sudo apt install -y protobuf-compiler
8979
- name: Install uv
9080
uses: astral-sh/setup-uv@v3
91-
- name: Install dependencies
81+
- name: Install linting tools
9282
working-directory: python
9383
run: |
9484
uv venv
9585
source .venv/bin/activate
96-
uv pip install -e .[dev]
86+
# Install only linting tools without building the Rust extension
87+
uv pip install ruff pyright
9788
- name: Run ruff format check
9889
working-directory: python
9990
run: |

0 commit comments

Comments
 (0)