diff --git a/.github/workflows/kind-action.yml b/.github/workflows/kind-action.yml index bbb2e4148..f20a9489f 100644 --- a/.github/workflows/kind-action.yml +++ b/.github/workflows/kind-action.yml @@ -16,11 +16,25 @@ concurrency: jobs: run-tests: runs-on: ubuntu-latest + env: + KIND_CLUSTER_NAME: kinder + K8S_VERSION: v1.34.0 steps: - - name: Create k8s Kind Cluster - uses: helm/kind-action@v1 - with: - cluster_name: kinder + - name: Install kind + run: | + KIND_VERSION="v0.30.0" + curl -Lo ./kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64 + chmod +x ./kind + sudo mv ./kind /usr/local/bin/kind + kind --version + - name: Create Kind Cluster + run: | + kind create cluster --name $KIND_CLUSTER_NAME --image kindest/node:${K8S_VERSION} + - name: Verify kind and k8s version + run: | + kind version + kubectl version + kubectl cluster-info --context kind-kinder - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/Dockerfile b/Dockerfile index 192214324..413658493 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.23.8 AS deps +FROM --platform=$BUILDPLATFORM golang:1.24.6 AS deps ARG TARGETOS TARGETARCH KCTRL_VER=development WORKDIR /workspace diff --git a/cli/go.mod b/cli/go.mod index b2eb5d13b..ac7015cb9 100644 --- a/cli/go.mod +++ b/cli/go.mod @@ -1,6 +1,6 @@ module carvel.dev/kapp-controller/cli -go 1.23.8 +go 1.24.6 require ( carvel.dev/kapp-controller v0.57.0 diff --git a/go.mod b/go.mod index 73af87099..c59d8ae89 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module carvel.dev/kapp-controller -go 1.23.8 +go 1.24.6 require ( carvel.dev/vendir v0.44.0