File tree Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 1515 - name : Build documentation
1616 run : |
1717 echo ::group::Build documentation
18- source ~/.venv/bin/activate
1918 make html
2019 echo ::endgroup::
2120 working-directory : ' ./packages/hidp/docs'
Original file line number Diff line number Diff line change 2222
2323 - name : Lint, check, test and build (if applicable)
2424 run : |
25- source ~/.venv/bin/activate
2625 UV_DJANGO_VERSION=$(uv pip list | sed -nE 's/^django[[:space:]]+([0-9]+\.[0-9]+)\..*/\1/p')
2726 echo "Detected uv Django version: $UV_DJANGO_VERSION"
2827 echo "Expected Django version: $DJANGO_VERSION"
Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ runs:
1313 using : composite
1414
1515 steps :
16- - name : Setup Python
17- uses : actions /setup-python@v5
16+ - name : Install uv
17+ uses : astral-sh /setup-uv@v6
1818 with :
1919 python-version : ${{ inputs.python-version }}
20+ activate-environment : true
21+ enable-cache : true
2022
2123 - name : Install system packages (gettext)
2224 run : |
2628 echo ::endgroup::
2729 shell : bash
2830
29- - name : Install uv
30- run : |
31- echo ::group::Install uv
32- python -m pip install --root-user-action=ignore -U uv
33- echo ::endgroup::
34- working-directory : ${{ inputs.working-directory }}
35- shell : bash
36-
3731 - name : Set Django version
3832 run : |
3933 echo ::group::Set Django version environment variable
4337
4438 - name : Install dependencies
4539 run : |
46- echo ::group::Create/activate virtualenv
47- uv venv ~/.venv
48- source ~/.venv/bin/activate
49- echo ::endgroup::
5040 make install-pipeline
5141 working-directory : ${{ inputs.working-directory }}
5242 shell : bash
You can’t perform that action at this time.
0 commit comments