Skip to content

Commit f88a56e

Browse files
Slightly hacky usage of uv tool dir
dayamlchecker.checke_questions_urls isn't a binary, so isn't easily available when running `uv tool install`. But we can still directly source the venv uv creates for the tool and use it.
1 parent df06fb1 commit f88a56e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

da_build/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ runs:
3030
shell: bash
3131

3232
- name: Install dependencies
33-
run: uv tool install "dayamlchecker>=1.2.0"
33+
run: |
34+
uv tool install "dayamlchecker>=1.2.0"
35+
source $(uv tool dir)/bin/activate # necessary because dayamlchecker.check_questions_urls isn't a binary.
3436
shell: bash
3537

3638
- name: Check syntax for all files

0 commit comments

Comments
 (0)