From 54cb09dee44386e30b6c361a6749b7db245c3a7f Mon Sep 17 00:00:00 2001 From: Brandon Fulljames Date: Mon, 9 Oct 2023 23:15:44 +0900 Subject: [PATCH] Bump go version up to 1.21 (#44) * Bump go version up to 1.21 * Add version for goenv --- .github/workflows/goreleaser.yaml | 2 +- .go-version | 1 + Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .go-version diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index f63fb69..0663d90 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: 1.21 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/.go-version b/.go-version new file mode 100644 index 0000000..0369d0b --- /dev/null +++ b/.go-version @@ -0,0 +1 @@ +1.21.2 diff --git a/Dockerfile b/Dockerfile index e97dd3f..58e7eaa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Builder image -FROM golang:1.19.3 AS builder +FROM golang:1.21.2 AS builder ARG BUILD_VERSION=docker-dev WORKDIR /app diff --git a/go.mod b/go.mod index 4f563ae..6efb620 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/evertras/cynomys -go 1.19 +go 1.21 require ( github.com/cucumber/godog v0.12.5