From a106ac8d6bf2cc8ec0d7d91212ad7fd982811131 Mon Sep 17 00:00:00 2001 From: Kurochan Date: Thu, 11 Aug 2022 05:13:42 +0900 Subject: [PATCH] bump go version from 1.17 to 1.19 (#1163) --- .github/workflows/integration.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/unit.yml | 2 +- Makefile | 4 ++-- go.mod | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 52ffd4f3a4..b87741fc20 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -45,7 +45,7 @@ jobs: - name: setup-go uses: actions/setup-go@v2 with: - go-version: '1.17' + go-version: '1.19' - name: Install dependencies run: make setup diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8a00a35c2..a599583e96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: - uses: actions/setup-go@v2 with: - go-version: 1.17 + go-version: 1.19 if: ${{ steps.release.outputs.release_created }} - name: Run GoReleaser diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index ea2e2b0a91..d291e26306 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.17' + go-version: '1.19' - name: Install dependencies run: make setup - name: make ${{ matrix.target }} diff --git a/Makefile b/Makefile index f080b23aaa..93aa73be24 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ test-acceptance: fmt deps ## runs all tests, including the acceptance tests whic .PHONY: test-acceptance deps: - go mod tidy -compat=1.17 + go mod tidy -compat=1.19 .PHONY: deps install: ## install the terraform-provider-snowflake binary in $GOPATH/bin @@ -97,7 +97,7 @@ check-docs: docs ## check that docs have been generated .PHONY: check-docs check-mod: - go mod tidy -compat=1.17 + go mod tidy -compat=1.19 git diff --exit-code -- go.mod go.sum .PHONY: check-mod diff --git a/go.mod b/go.mod index 62d2bdeace..3987ca39f9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/Snowflake-Labs/terraform-provider-snowflake -go 1.17 +go 1.19 require ( github.com/DATA-DOG/go-sqlmock v1.5.0