Skip to content

Commit 3bab486

Browse files
committed
fix(CI): update uv symlink path
1 parent ba316c2 commit 3bab486

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
with:
2020
version: "latest"
2121
python-version: "3.11"
22-
23-
- name: Create virtual environment
24-
run: uv venv
25-
26-
- name: Install dependencies
22+
- name: Symlink uv to expected path for pre-commit-uv
2723
run: |
28-
uv sync --dev
29-
uv add pytest==7.4.3
30-
24+
mkdir -p ~/.local/bin
25+
ln -s $(which uv) ~/.local/bin/uv
26+
- run: uv venv
27+
- run: uv sync --dev
28+
- run: uv add pytest==7.4.3
3129
- uses: tox-dev/action-pre-commit-uv@v1
30+
with:
31+
extra_args: --all-files

0 commit comments

Comments
 (0)