diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 5522b714..7e565075 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -12,7 +12,7 @@ on: - 'config/' env: DOCKER_FILE_PATH: Dockerfile - GOLANG_VERSION: 1.18 + GOLANG_VERSION: 1.21 HELM_VERSION: v3.8.2 KIND_VERSION: "v0.17.0" @@ -35,7 +35,7 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v3 with: - version: v1.50.1 + version: v1.54 only-new-issues: false args: --timeout 10m diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f6485194..317729c6 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,7 +14,7 @@ on: env: DOCKER_FILE_PATH: Dockerfile BUNDLE_DOCKER_FILE_PATH: bundle.Dockerfile - GOLANG_VERSION: 1.18 + GOLANG_VERSION: 1.21 OPERATOR_SDK_VERSION: "1.19.0" KUSTOMIZE_VERSION: "4.5.7" KUBERNETES_VERSION: "1.23.5" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 53ae7e36..e39133fc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -140,7 +140,7 @@ And then handle this configuration as handled in `processProviderConfig` in [upt ### Dependencies -1. GoLang v1.18 +1. GoLang v1.21 2. kubectl 3. operator-sdk v1.6.2 diff --git a/Dockerfile b/Dockerfile index c9678f8f..aaee017f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.18 as builder +FROM golang:1.21 as builder WORKDIR /workspace # Copy the Go Modules manifests