diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bcdeaeb63..338b21d2a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -85,6 +85,17 @@ jobs: kubectl rollout status deployment/agent-sandbox-controller -n agent-sandbox-system --timeout=120s kubectl wait --for=condition=Ready pod -l app=agent-sandbox-controller -n agent-sandbox-system --timeout=120s + - name: Build kagent + env: + BUILDX_BUILDER_NAME: ${{ env.BUILDX_BUILDER_NAME }} + DOCKER_BUILD_ARGS: >- + --cache-from=type=gha,scope=${{ needs.setup.outputs.cache-key }}-e2e + --cache-from=type=gha,scope=${{ env.CACHE_KEY_PREFIX }}-main-e2e + --cache-to=type=gha,scope=${{ needs.setup.outputs.cache-key }}-e2e,mode=max + --platform=linux/amd64 + --push + run: make build + - name: Install Kagent id: install-kagent env: @@ -98,7 +109,6 @@ jobs: --platform=linux/amd64 --push run: | - echo "Cache key: ${{ needs.setup.outputs.cache-key }}" make helm-install make push-test-agent push-test-skill kubectl rollout status deployment/kagent-controller -n kagent --timeout=120s @@ -304,7 +314,7 @@ jobs: go-version: "1.26" cache: true cache-dependency-path: go/go.sum - - name: golangci-lint + - name: golangci-lint working-directory: go run: make lint