diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml index eb5afc0..05b6482 100644 --- a/.github/workflows/github-ci.yml +++ b/.github/workflows/github-ci.yml @@ -30,10 +30,10 @@ jobs: with: submodules: recursive - - name: Setup Python - uses: actions/setup-python@v4 - with: - 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 - name: Record original PATH id: record_original_path @@ -41,7 +41,6 @@ jobs: - name: Activate .venv run: | - python3 -m pip install -r requirement-uv.txt uv sync --frozen --no-install-project . .venv/bin/activate echo PATH=${GITHUB_WORKSPACE}/.venv/bin:$PATH >> $GITHUB_ENV