diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4290f6ef8..31112dc29 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,14 +13,21 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: install uv and python uses: astral-sh/setup-uv@v7 with: version: "0.11.28" python-version: ${{ matrix.python-version }} + - name: Install run: make install-dev + + - name: Check lock status + run: make check-lock + - name: Lint run: make lint-services + - name: Test run: make test-services diff --git a/Makefile b/Makefile index ebb284ccb..b5fe113f9 100644 --- a/Makefile +++ b/Makefile @@ -41,3 +41,10 @@ update-dependencies: cd core && uv lock # lock services @for f in $(shell ls ${SERVICES_DIR}); do set -e; cd ${SERVICES_DIR}/$${f};uv lock; cd ../..; done + +check-lock: + # services + @for f in $(shell ls ${SERVICES_DIR}); do set -e;echo ">> Checking lockfile of $${f}" && uv lock --check --directory ${SERVICES_DIR}/$${f}; done + # core + echo ">> Checking lockfile of core" + uv lock --check --directory core