Skip to content

Commit 82f5f80

Browse files
chore(ci): check that lock files are up to date; fix out of date lock files (#7988)
1 parent b5e5737 commit 82f5f80

9 files changed

Lines changed: 13 additions & 13 deletions

File tree

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ test-services:
1919
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f}; sh -c ' uv run pytest || ([ $$? = 5 ] && exit 0 || exit $$?)'; cd ../..; done
2020

2121
lint-services:
22-
# lint core
23-
cd core && uv run flake8 .
22+
# lint core and check its lock file
23+
cd core && uv lock --check && uv run flake8 .
2424
# lint examples. Use configuration from core
2525
cd core && uv run flake8 --toml-config pyproject.toml --black-config pyproject.toml ../examples;
26-
# lint services
27-
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};uv run flake8 .; cd ../..; done
26+
# lint services and check their lock files
27+
@for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f}; if ! uv lock --check; then echo "Lock file for $${f} is out of date. Run 'make update-dependencies'."; exit 1; fi; uv run flake8 .; cd ../..; done
2828
# lint versions
2929
@./scripts/lint-versions.sh
3030

services/albwaf/uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/auditlog/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/cost/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/edge/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/iaas/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/postgresflex/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/resourcemanager/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/telemetryrouter/uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)