hbelmiro/uv-lock-check
Validates if the uv.lock file and optionally requirements.txt files were generated from the current pyproject.toml file
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 10, 2026
- License
- Apache 2.0
Pinned Snippet
uses: hbelmiro/uv-lock-check@5e383ca4a558c5c8b39c577601d7c71e7d9290dd # v0.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| pyproject-path | Path to the pyproject.toml file | no | pyproject.toml |
| requirements-path | Path to the requirements.txt file. If empty, will look for requirements.txt in the same directory as pyproject.toml | no | "" |
| command | uv command to run for validation (e.g., "uv sync" for lock files, "uv pip compile pyproject.toml -o requirements.txt" for requirements) | no | uv sync |
| run-sync | Whether to run uv sync to update uv.lock and requirements.txt | no | false |
| show-diff | Show git diff output when files are out of sync | no | false |
| diff-max-lines | Maximum number of diff lines to display when show-diff is enabled | no | 200 |
Outputs
no outputs