@@ -53,10 +53,12 @@ jobs:
5353 with :
5454 sync : false
5555 prune-cache : false
56+ # Use uvx for ruff to avoid building the Rust extension (saves ~4.5 min)
5657 - name : Python Lint - Format
57- run : uv run ruff format --check .
58+ run : uvx ruff format --check .
5859 - name : Python Lint - Ruff
59- run : uv run ruff check .
60+ run : uvx ruff check .
61+ # PyRight needs the project for type information, so use uv run
6062 - name : Python Lint - PyRight
6163 run : uv run basedpyright vortex-python
6264
@@ -324,9 +326,10 @@ jobs:
324326 run : |
325327 cargo build -p vortex-ffi
326328 cargo run -p vortex-ffi --example hello_vortex
329+ - name : Install llvm-tools-preview
330+ run : rustup component add llvm-tools-preview
327331 - name : Generate coverage report
328332 run : |
329- rustup component add llvm-tools-preview
330333 grcov . --binary-path target/debug/ -s . -t lcov --llvm --ignore-not-existing \
331334 --threads $(nproc) \
332335 --ignore '../*' --ignore '/*' --ignore 'fuzz/*' --ignore 'bench-vortex/*' \
@@ -430,8 +433,11 @@ jobs:
430433 with :
431434 sccache : s3
432435 - uses : actions/checkout@v5
433- # VS Build Tools already pre-installed on windows22-full-x64 image
434- # See: https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
436+ - name : Install Visual Studio Build Tools (Windows)
437+ if : matrix.os == 'windows-x64'
438+ shell : bash
439+ run : |
440+ choco install visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --passive" -y
435441 - name : Setup Python (Windows)
436442 if : matrix.os == 'windows-x64'
437443 uses : actions/setup-python@v5
0 commit comments