Skip to content

Commit 492532b

Browse files
ci: sonar fixes (#41)
1 parent c01334f commit 492532b

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ jobs:
7272
- name: Sync Python tools
7373
env:
7474
UV_PYTHON: ${{ steps.setup-python.outputs.python-path }}
75-
run: uv sync --locked --only-group test-python
75+
run: uv sync --locked --only-group test-python --no-build
7676

7777
- name: Test with pytest
7878
id: test
79-
run: uv run --locked --only-group test-python pytest
79+
run: uv run --locked --only-group test-python --no-build pytest
8080

8181
- name: Upload test coverage
8282
# any except canceled or skipped

.github/workflows/localize.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,16 @@ jobs:
5656

5757
- name: Sync Python tools
5858
run: |
59-
uv sync --project .lizardbyte-common --frozen --group locale \
60-
--no-default-groups \
61-
--python "${PYTHON_VERSION}" \
59+
uv_sync_args=(
60+
--project .lizardbyte-common
61+
--frozen
62+
--group locale
63+
--no-default-groups
64+
--python "${PYTHON_VERSION}"
6265
--no-python-downloads
66+
)
67+
# The workflow SHA pins reviewed project code; building it installs the required lb-* entry points.
68+
uv sync "${uv_sync_args[@]}" # NOSONAR(githubactions:S8541)
6369
6470
- name: Set up xgettext
6571
run: |

0 commit comments

Comments
 (0)