Skip to content

Commit e669035

Browse files
committed
ci(uv): use uv sync --frozen everywhere
1 parent 095913a commit e669035

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/docspublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
uv --version
22-
uv sync --locked --group script
22+
uv sync --frozen --group script
2323
- name: Update CLI screenshots
2424
run: |
2525
uv run poe doc:screenshots
@@ -52,7 +52,7 @@ jobs:
5252
- name: Install dependencies
5353
run: |
5454
uv --version
55-
uv sync --locked --only-group documentation
55+
uv sync --frozen --only-group documentation
5656
- name: Generate Sponsors 💖
5757
uses: JamesIves/github-sponsors-readme-action@v1
5858
with:

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
uv --version
28-
uv sync --locked --dev --group test --group linters
28+
uv sync --frozen --group test --group linters
2929
- name: Run tests and linters
3030
run: |
3131
git config --global user.email "action@github.com"

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
hooks:
3535
- id: uv-lock
3636
- id: uv-sync
37-
args: [ --locked, --all-groups ]
37+
args: [ --frozen, --all-groups ]
3838
stages: [ pre-commit, post-checkout, post-merge, post-rewrite ]
3939

4040
- repo: https://github.com/asottile/blacken-docs

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you're a first-time contributor, please check out issues labeled [good first
4040
```
4141
4. Set up the development environment:
4242
```bash
43-
uv sync --dev
43+
uv sync --dev --frozen
4444
```
4545
5. Set up pre-commit hooks:
4646
```bash

docs/contributing_tldr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Please check the [pyproject.toml](https://github.com/commitizen-tools/commitizen
1313

1414
```bash
1515
# Ensure you have the correct dependencies
16-
uv sync --dev
16+
uv sync --dev --frozen
1717

1818
# Make ruff happy
1919
uv run poe format

0 commit comments

Comments
 (0)