File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 shell : bash
3131
3232 - name : Install dependencies
33- run : |
34- uv tool install "dayamlchecker>=1.2.0"
35- source $(uv tool dir)/dayamlchecker/bin/activate # necessary because dayamlchecker.check_questions_urls isn't a binary.
33+ run : uv tool install "dayamlchecker>=1.2.0"
3634 shell : bash
3735
3836 - name : Check syntax for all files
@@ -44,11 +42,16 @@ runs:
4442 shell : bash
4543
4644 - name : Run YAML Checker
47- run : find . -name "*.yml" -path "*/questions/*" -print0 | xargs -0 python -m dayamlchecker
45+ run : |
46+ # necessary because dayamlchecker.check_questions_urls isn't a binary.
47+ source $(uv tool dir)/dayamlchecker/bin/activate
48+ find . -name "*.yml" -path "*/questions/*" -print0 | xargs -0 python -m dayamlchecker
4849 shell : bash
4950
5051 - name : Check URLs in question/template files
5152 run : |
53+ # necessary because dayamlchecker.check_questions_urls isn't a binary.
54+ source $(uv tool dir)/dayamlchecker/bin/activate
5255 if [ "${{ inputs.skip-url-check }}" = "true" ]; then
5356 echo "Skipping URL checks"
5457 exit 0
You can’t perform that action at this time.
0 commit comments