From 7f114046e24be78b4b8661ae513a63c3ff2c2ea1 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 1 Sep 2022 15:35:14 +0200 Subject: [PATCH] feat: Update used goversion to 1.18. (#449) --- .github/workflows/acc-test.yaml | 2 +- .github/workflows/compile.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/unit-test.yaml | 2 +- .github/workflows/website-lint.yaml | 2 +- .go-version | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- scripts/testacc.Dockerfile | 2 +- scripts/testing/Dockerfile | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/acc-test.yaml b/.github/workflows/acc-test.yaml index 8c598987..b80d2390 100644 --- a/.github/workflows/acc-test.yaml +++ b/.github/workflows/acc-test.yaml @@ -14,7 +14,7 @@ on: env: GOPROXY: https://proxy.golang.org,direct DEBIAN_FRONTEND: noninteractive - GO_VERSION: "1.17" + GO_VERSION: "1.18" TESTSUITE_TIMEOUT: "720s" jobs: diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index 495727a2..c66ba310 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -17,7 +17,7 @@ on: env: GOPROXY: https://proxy.golang.org,direct - GO_VERSION: "1.17" + GO_VERSION: "1.18" jobs: compile: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1c7e7bad..22a570df 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ on: - "v*" env: - GO_VERSION: "1.17" + GO_VERSION: "1.18" jobs: goreleaser: diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 6730e5a3..6a6bd871 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -13,7 +13,7 @@ on: env: GOPROXY: https://proxy.golang.org,direct - GO_VERSION: "1.17" + GO_VERSION: "1.18" jobs: unit-test: diff --git a/.github/workflows/website-lint.yaml b/.github/workflows/website-lint.yaml index 3117b91e..31c91457 100644 --- a/.github/workflows/website-lint.yaml +++ b/.github/workflows/website-lint.yaml @@ -12,7 +12,7 @@ on: env: GOPROXY: https://proxy.golang.org,direct - GO_VERSION: "1.17" + GO_VERSION: "1.18" jobs: website-generation: diff --git a/.go-version b/.go-version index b48f3226..adc97d8e 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.17 +1.18 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 25846c41..b2b18252 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ Please use issue templates as much as possible. Prerequisites: - `make`, `git`, `bash` -- [Go 1.16+](https://golang.org/doc/install) +- [Go 1.18+](https://golang.org/doc/install) - [Docker](https://www.docker.com/) - [Terraform 0.12+](https://terraform.io/) - [git-chglog](https://github.com/git-chglog/git-chglog) diff --git a/README.md b/README.md index ee2ffe78..a2c0130b 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ ## Requirements - [Terraform](https://www.terraform.io/downloads.html) >=0.12.x -- [Go](https://golang.org/doc/install) 1.17.x (to build the provider plugin) +- [Go](https://golang.org/doc/install) 1.18.x (to build the provider plugin) ## Building The Provider diff --git a/scripts/testacc.Dockerfile b/scripts/testacc.Dockerfile index e43b7e9a..a7b63ead 100644 --- a/scripts/testacc.Dockerfile +++ b/scripts/testacc.Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:20.04 ENV DEBIAN_FRONTEND=noninteractive ARG DOCKER_CE_VERSION="5:20.10.10~3-0~ubuntu-focal" -ARG GOLANG_VERSION="1.17" +ARG GOLANG_VERSION="1.18" ARG TERRAFORM_VERSION="0.15.2" # Install the baseline diff --git a/scripts/testing/Dockerfile b/scripts/testing/Dockerfile index 32632d84..a7c39a7f 100644 --- a/scripts/testing/Dockerfile +++ b/scripts/testing/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17-alpine as builder +FROM golang:1.18-alpine as builder ARG MAIN_FILE_PATH RUN echo "appuser:x:65534:65534:Appuser:/:" > /etc/passwd