From 0fcb74627f41b874f4d7b8373f5fc8ee15524a88 Mon Sep 17 00:00:00 2001 From: Todd Ekenstam <3845995+tekenstam@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:28:02 -0700 Subject: [PATCH] Update to Golang 1.19 (#68) * Update to Golang 1.19 Signed-off-by: Todd Ekenstam * Update build and docker to use Go 1.19 Signed-off-by: Todd Ekenstam --------- Signed-off-by: Todd Ekenstam --- .github/workflows/release.yaml | 2 +- .github/workflows/unit-test.yaml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 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 \ diff --git a/go.mod b/go.mod index 28eeb3b..a62dbfd 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