File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
12name : CI — ML Service
23
34on :
@@ -27,12 +28,10 @@ jobs:
2728 - name : Install lint dependencies
2829 run : |
2930 pip install flake8 black isort
30- # Avoid heavy ML deps (torch/tensorflow) in lint — install only what's needed
3131 [ -f ml/requirements-lint.txt ] && pip install -r ml/requirements-lint.txt || true
3232 [ -f ml/requirements.txt ] && pip install -r ml/requirements.txt --no-deps || true
3333
3434 - name : Black formatting check
35- # Allow failure if ml/ is mostly empty / not yet written
3635 run : black --check ml/ || echo "::warning::Black check failed — ml/ may be incomplete"
3736
3837 - name : isort import order check
8382 type=sha,prefix=sha-
8483 type=raw,value=latest,enable={{is_default_branch}}
8584
85+ - name : Set up Docker Buildx
86+ uses : docker/setup-buildx-action@v3
87+
8688 - name : Build and push ML Docker image
8789 uses : docker/build-push-action@v5
8890 with :
9395 labels : ${{ steps.meta.outputs.labels }}
9496 cache-from : type=gha
9597 cache-to : type=gha,mode=max
98+ ` ` `
You can’t perform that action at this time.
0 commit comments