Skip to content

Conversation

DhavalGojiya
Copy link
Member

Summary

This PR adds a GitHub Actions job to validate the uv.lock file and ensure it is consistent with pyproject.toml

Changes

  • Added a new job: UV Lockfile Sync Validation 🔒

    • Checks uv.lock consistency using uv lock --locked
  • Ensures that CI fails if the lockfile is out of sync.

Benefits

  • Prevents out-of-sync dependencies from entering the codebase.
  • Improves CI reliability by catching lockfile issues early.
  • Maintains consistent environment across all contributors and CI runners.

How to Test / Verify

  1. Push changes to a branch with an outdated uv.lock.
  2. Observe that the CI fails the lockfile check.
  3. Update the lockfile with uv lock and verify that CI passes.

@DhavalGojiya DhavalGojiya force-pushed the ci/lockfile-validation-uv branch from 3c2706c to 0176e35 Compare October 8, 2025 07:06
@DhavalGojiya
Copy link
Member Author

DhavalGojiya commented Oct 8, 2025

@cunla

✅ Successfully rebased the latest master branch into the current branch DhavalGojiya:ci/lockfile-validation-uv .
The PR now contains one single, clean linear commit.

@DhavalGojiya DhavalGojiya requested a review from cunla October 8, 2025 08:47
@cunla cunla merged commit 6a948df into django-commons:master Oct 8, 2025
12 of 15 checks passed
@DhavalGojiya DhavalGojiya deleted the ci/lockfile-validation-uv branch October 8, 2025 12:48
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.

2 participants