Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
enable-cache: true

- name: Install dependencies
run: uv sync --dev --no-install-package datafusion
run: uv sync --locked --dev --no-install-package datafusion
Copy link
Contributor

Choose a reason for hiding this comment

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

I agree with the direction here, and the pre-commit hook looks good.

But given the PR title says this enforces lockfile consistency in CI, I think the CI side is incomplete until all uv sync calls use --locked (or the title/description is narrowed).


- name: Run Ruff
run: |
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,12 @@ repos:
additional_dependencies:
- tomli

- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.10.7
hooks:
# Update the uv lockfile
- id: uv-lock

default_language_version:
python: python3
Loading