Add --locked to uv sync in GitHub Actions guide (#12819)

## Summary

Closes #10793

As requested by @konstin in

- https://github.com/astral-sh/uv/issues/10793#issuecomment-2603869549
This commit is contained in:
johnthagen 2025-04-10 15:47:00 -04:00 committed by GitHub
parent 7a18e4429d
commit 59220ca507
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,7 +190,7 @@ jobs:
uses: astral-sh/setup-uv@v5 uses: astral-sh/setup-uv@v5
- name: Install the project - name: Install the project
run: uv sync --all-extras --dev run: uv sync --locked --all-extras --dev
- name: Run tests - name: Run tests
# For example, using `pytest` # For example, using `pytest`