fix: use uv tool install for ruff instead of uv pip install
- uv tool install is the correct way to install CLI tools like ruff - uv pip install --system is for Python packages, not tools
This commit is contained in:
4
.github/workflows/build-reusable.yml
vendored
4
.github/workflows/build-reusable.yml
vendored
@@ -26,9 +26,9 @@ jobs:
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v4
|
||||
|
||||
- name: Install dependencies with ruff
|
||||
- name: Install ruff
|
||||
run: |
|
||||
uv pip install --system ruff==0.12.7
|
||||
uv tool install ruff==0.12.7
|
||||
|
||||
- name: Run ruff check
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user