From 2989c3b9845851db6aba839a34be5064ce0c14d1 Mon Sep 17 00:00:00 2001 From: Fredrik Thune Date: Mon, 30 Oct 2023 12:08:48 +0100 Subject: [PATCH] Updates go version in workflow and docker --- .github/workflows/pull_request.yml | 4 ++-- .github/workflows/push.yml | 2 +- CONTRIBUTING.md | 2 +- Dockerfile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b268db94..63ce17d4 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 e624f4f8..948cbe12 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 647cfba6..3a3ed667 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