From 51525797fcfc24e01e2e0163a373c9b55889bdf6 Mon Sep 17 00:00:00 2001 From: Todd Ekenstam <3845995+tekenstam@users.noreply.github.com> Date: Wed, 20 Sep 2023 08:34:58 -0700 Subject: [PATCH 1/2] Update to Golang 1.19 Signed-off-by: Todd Ekenstam --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 559875f..6e740a9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/keikoproj/alert-manager -go 1.18 +go 1.19 require ( github.com/WavefrontHQ/go-wavefront-management-api v1.14.2 From 476448aa5f8db11fb96a3631930b8088069b7a1c Mon Sep 17 00:00:00 2001 From: Todd Ekenstam Date: Fri, 6 Oct 2023 17:04:05 -0700 Subject: [PATCH 2/2] More changes for Go 1.19 Signed-off-by: Todd Ekenstam --- .github/workflows/unit_test.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_test.yaml b/.github/workflows/unit_test.yaml index 28670ec..9c96b04 100644 --- a/.github/workflows/unit_test.yaml +++ b/.github/workflows/unit_test.yaml @@ -14,7 +14,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: 1.18 + go-version: 1.19 - name: Check out code into the Go module directory uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index eac1404..be1d651 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.18 as builder +FROM golang:1.19 as builder WORKDIR /workspace # Copy the Go Modules manifests