From 87615ff89f7f55c9ab1369a1d40211155290144d Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Thu, 21 Nov 2024 16:30:12 +0100 Subject: [PATCH] Update build (#6988) * Update Go to latest patch release. * Fixup go test to use `.go-version`. * Bump K8s / KIND in integration tests. * Update golangci-lint. Signed-off-by: SuperQ --- .circleci/config.yml | 4 ++-- .github/workflows/go.test.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .go-version | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8572340a5..117ac3f41 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,8 +21,8 @@ integrationDefaults: &integrationDefaults image: default working_directory: ~/go/src/${CIRCLE_PROJECT_USERNAME}/coredns environment: - - K8S_VERSION: v1.22.0 - - KIND_VERSION: v0.11.1 + - K8S_VERSION: v1.29.4 + - KIND_VERSION: v0.25.0 - KUBECONFIG: /home/circleci/.kube/kind-config-kind setupKubernetes: &setupKubernetes diff --git a/.github/workflows/go.test.yml b/.github/workflows/go.test.yml index 265b35aca..1894951f1 100644 --- a/.github/workflows/go.test.yml +++ b/.github/workflows/go.test.yml @@ -61,7 +61,7 @@ jobs: - name: Install Go uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 with: - go-version: '~1.21.0' + go-version: ${{ env.GO_VERSION }} id: go - name: Build diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index c731af241..ab81a67a3 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -15,4 +15,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: - version: v1.60.1 + version: v1.62.0 diff --git a/.go-version b/.go-version index 14bee92c9..ac1df3fce 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.23.2 +1.23.3