From 18c90e9d442fe4eee7e1190725c309034c5a6fc6 Mon Sep 17 00:00:00 2001 From: Bobby Iliev Date: Wed, 4 Sep 2024 22:19:52 +0300 Subject: [PATCH] Update Go version to 1.22 (#650) --- Dockerfile | 2 +- README.md | 2 +- go.mod | 2 +- mocks/cloud/Dockerfile | 2 +- mocks/cloud/go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f8c9ea2c..550354f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine +FROM golang:1.22-alpine COPY --from=hashicorp/terraform:1.8.2 /bin/terraform /bin/terraform diff --git a/README.md b/README.md index 268df63c..8252320e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This repository contains a Terraform provider for managing resources in a [Mater * Materialize >= 0.27 * [Terraform](https://www.terraform.io/downloads.html) >= 1.0.3 -* (Development) [Go](https://golang.org/doc/install) >= 1.21 +* (Development) [Go](https://golang.org/doc/install) >= 1.22 ## Installation diff --git a/go.mod b/go.mod index b7731a07..657a7f29 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/MaterializeInc/terraform-provider-materialize -go 1.21 +go 1.22 require ( github.com/DATA-DOG/go-sqlmock v1.5.2 diff --git a/mocks/cloud/Dockerfile b/mocks/cloud/Dockerfile index a2d00583..adbd4af3 100644 --- a/mocks/cloud/Dockerfile +++ b/mocks/cloud/Dockerfile @@ -1,5 +1,5 @@ # Start from the official Golang base image -FROM golang:1.21 as builder +FROM golang:1.22 as builder # Set the Current Working Directory inside the container WORKDIR /app diff --git a/mocks/cloud/go.mod b/mocks/cloud/go.mod index 21d1bf34..79f0c25a 100644 --- a/mocks/cloud/go.mod +++ b/mocks/cloud/go.mod @@ -1,3 +1,3 @@ module cloud-mockserver -go 1.21 +go 1.22