Skip to content

UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.

ci: Refresh uv.lock during release pipeline (#117)

Yakhyokhuja Valikhujaev43a46e11df88
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index deadc44..031cf32 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -123,11 +123,20 @@ jobs:
p.write_text(new)
EOF
+ - name: Install uv
+ uses: astral-sh/setup-uv@v6
+ with:
+ enable-cache: true
+ python-version: "3.11"
+
+ - name: Refresh uv.lock with new project version
+ run: uv lock --upgrade-package uniface
+
- name: Commit, tag, push
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- git add pyproject.toml uniface/__init__.py
+ git add pyproject.toml uniface/__init__.py uv.lock
git commit -m "chore: Release v${{ inputs.version }}"
git tag "v${{ inputs.version }}"
git push origin HEAD:${{ github.ref_name }}
diff --git a/uv.lock b/uv.lock
index 3395f3f..671b0be 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1654,7 +1654,7 @@ wheels = [
[[package]]
name = "uniface"
-version = "3.5.3"
+version = "3.6.0rc1"
source = { editable = "." }
dependencies = [
{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },