From 9897dab351eac79312230f1e44567abf2efc8274 Mon Sep 17 00:00:00 2001 From: Viktor Bukharov Date: Tue, 10 Sep 2024 18:20:01 +0800 Subject: [PATCH] Bump Go 1.21 -> 1.22 --- .github/workflows/acceptance-tests.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/verify.yml | 6 +++--- README.md | 2 +- go.mod | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 5752d9f5..407804f8 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22.7' - name: Set up Terraform uses: hashicorp/setup-terraform@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3fea29c..c763157d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22.7' - name: Import GPG key id: import_gpg diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 8c11d137..0eaa0bce 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22.7' - run: make test golangci-lint: @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22.7' - uses: golangci/golangci-lint-action@v6 with: version: v1.56.2 @@ -33,6 +33,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.22.7' - run: go mod tidy -v - run: git diff --exit-code diff --git a/README.md b/README.md index aa4f515a..37c34e1d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Requirements ------------ - [Terraform](https://www.terraform.io/downloads.html) 0.12.x -- [Go](https://golang.org/doc/install) 1.21 (to build the provider plugin) +- [Go](https://golang.org/doc/install) 1.22 (to build the provider plugin) Building The Provider --------------------- diff --git a/go.mod b/go.mod index 6b5f15ed..39074835 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/terraform-providers/terraform-provider-selectel -go 1.21 +go 1.22.7 require ( github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320