Skip to content

Use uv sync --frozen in CI workflows for deterministic builds#259

Merged
Borda merged 3 commits intodevelopfrom
copilot/optimize-ci-workflows
Feb 16, 2026
Merged

Use uv sync --frozen in CI workflows for deterministic builds#259
Borda merged 3 commits intodevelopfrom
copilot/optimize-ci-workflows

Conversation

Copy link
Contributor

Copilot AI commented Feb 16, 2026

CI workflows were using uv pip install -r pyproject.toml --group <group>, which doesn't leverage the lockfile. Replaced with uv sync --frozen --group <group> for deterministic, reproducible builds.

Changes

Before:

- name: 🚀 Install Packages
  run: uv pip install -r pyproject.toml --group dev

After:

- name: 🚀 Install Packages
  run: uv sync --frozen --group dev

Modified workflows

  • ci-tests.yml--group dev
  • ci-integration-tests.yml--group dev
  • build-package.yml--group build
  • ci-build-docs.yml--group docs
  • publish-docs.yml--group docs

The --frozen flag ensures uv.lock is used exactly as-is without updates during CI runs.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI and others added 2 commits February 16, 2026 06:30
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
Copilot AI changed the title [WIP] Optimize CI workflows using UV package manager Use uv sync --frozen in CI workflows for deterministic builds Feb 16, 2026
Copilot AI requested a review from Borda February 16, 2026 06:33
@Borda Borda marked this pull request as ready for review February 16, 2026 06:36
@Borda Borda requested a review from SkalskiP as a code owner February 16, 2026 06:36
Copilot AI review requested due to automatic review settings February 16, 2026 06:36
@Borda Borda merged commit b8aacdc into develop Feb 16, 2026
22 of 23 checks passed
@Borda Borda deleted the copilot/optimize-ci-workflows branch February 16, 2026 06:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s GitHub Actions workflows to install Python dependencies via uv sync --frozen so CI uses uv.lock for deterministic, reproducible environments.

Changes:

  • Replaced uv pip install -r pyproject.toml --group <group> with uv sync --frozen --group <group> across CI workflows.
  • Ensured workflows use the lockfile as-is in CI (via --frozen) for consistent dependency resolution.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/ci-tests.yml Switch dev dependency installation to uv sync --frozen --group dev.
.github/workflows/ci-integration-tests.yml Switch dev dependency installation to uv sync --frozen --group dev.
.github/workflows/ci-build-docs.yml Switch docs dependency installation to uv sync --frozen --group docs.
.github/workflows/publish-docs.yml Switch docs dependency installation to uv sync --frozen --group docs.
.github/workflows/build-package.yml Switch build dependency installation to uv sync --frozen --group build before packaging steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


- name: 🚀 Install Packages
run: uv pip install -r pyproject.toml --group dev
run: uv sync --frozen --group dev
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow pins astral-sh/setup-uv to v7.2.0 while the other CI workflows are on v7.2.1. Consider aligning the action version/commit across workflows so uv setup behavior stays consistent everywhere.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants