From 197125b5c9c29da8d527e09c6be8ab58b5d3d94f Mon Sep 17 00:00:00 2001 From: Todd Ekenstam <3845995+tekenstam@users.noreply.github.com> Date: Wed, 20 Sep 2023 08:36:28 -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 3be0586..475a8b3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/keikoproj/aws-auth -go 1.17 +go 1.19 require ( github.com/jpillora/backoff v1.0.0 From 1ef879815dee477f982df5b09a0450947677c79b Mon Sep 17 00:00:00 2001 From: Todd Ekenstam Date: Tue, 26 Sep 2023 13:21:23 -0700 Subject: [PATCH 2/2] Update build and docker to use Go 1.19 Signed-off-by: Todd Ekenstam --- .github/workflows/release.yaml | 2 +- .github/workflows/unit-test.yaml | 2 +- Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index aef148d..e20291c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,7 +15,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: ^1.17 + go-version: ^1.19 - name: GoReleaser uses: goreleaser/goreleaser-action@v5 diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 473e369..f7f0d64 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -15,7 +15,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: ^1.17 + go-version: ^1.19 - name: Check out code into the Go module directory uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index fee5080..1573b36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17-alpine as build +FROM golang:1.19-alpine as build RUN apk add --update --no-cache \ curl \