We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 676e66b commit cc610f9Copy full SHA for cc610f9
.github/workflows/github-ci.yml
@@ -30,18 +30,17 @@ jobs:
30
with:
31
submodules: recursive
32
33
- - name: Setup Python
34
- uses: actions/setup-python@v4
35
- with:
36
- python-version: "3.12"
+ - name: Install uv
+ run: |
+ uv_version=$(cat ./requirement-uv.txt | awk -F'==' '{print $2}' | tr -d ' \n')
+ curl -LsSf https://astral.sh/uv/${uv_version}/install.sh | sh
37
38
- name: Record original PATH
39
id: record_original_path
40
run: echo "PATH_ORIGINAL=$PATH" >> $GITHUB_OUTPUT
41
42
- name: Activate .venv
43
run: |
44
- python3 -m pip install -r requirement-uv.txt
45
uv sync --frozen --no-install-project
46
. .venv/bin/activate
47
echo PATH=${GITHUB_WORKSPACE}/.venv/bin:$PATH >> $GITHUB_ENV
0 commit comments