From 7223a5244ce4fe302e9bb27c20d616d9b236ac88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diogo=20Ferr=C3=A3o?= Date: Mon, 25 Mar 2024 10:30:16 +0000 Subject: [PATCH] update go version (#308) --- .github/workflows/ci.yaml | 2 +- CONTRIBUTION.md | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1712debc..0a338059 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: CI Workflow on: [pull_request, workflow_dispatch] env: - GO_VERSION: "1.21" + GO_VERSION: "1.22" jobs: main: diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index b0cda6b4..b3c2c6d8 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -30,7 +30,7 @@ These commands can be executed from the project root: #### Local development -To test your changes locally, you have to compile the provider (requires Go 1.21) and configure the Terraform CLI to use the local version. +To test your changes locally, you have to compile the provider (requires Go 1.22) and configure the Terraform CLI to use the local version. 1. Clone the repository. 2. Set the provider address to a custom address for local development. It must correspond to the same address that is included in the dev_overrides block, in step 4. diff --git a/go.mod b/go.mod index 3dc97683..72a4d926 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/stackitcloud/terraform-provider-stackit -go 1.21 +go 1.22 require ( github.com/google/go-cmp v0.6.0