Skip to content

Commit f253d09

Browse files
committed
Use uv run instead of uvx
1 parent 748b8b2 commit f253d09

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/generate-python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }}
2626

2727
- name: Checkout
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 0
3131
token: ${{ steps.generate_token.outputs.token }}
@@ -42,11 +42,11 @@ jobs:
4242

4343
- name: Generate All-optional Python models
4444
run: >
45-
uvx --with datamodel-code-generator -- bash bin/generate_python.sh --output=generated/python/datadoc_model/datadoc_model/all_optional/model.py --force-optional
45+
uv run --no-project --with datamodel-code-generator -- ./bin/generate_python.sh --output=generated/python/datadoc_model/datadoc_model/all_optional/model.py --force-optional
4646
4747
- name: Generate Required Python models
4848
run: >
49-
uvx --with datamodel-code-generator -- bash bin/generate_python.sh --output=generated/python/datadoc_model/datadoc_model/required/model.py
49+
uv run --no-project --with datamodel-code-generator -- ./bin/generate_python.sh --output=generated/python/datadoc_model/datadoc_model/required/model.py
5050
5151
- name: Check for modified files
5252
id: git-check

.github/workflows/test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run:
2222
working-directory: ./generated/python/datadoc_model
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
- uses: actions/setup-python@v1
2626
with:
2727
python-version: "3.11"

0 commit comments

Comments
 (0)