From 74161ac416ace02270ca698df6d75b46a6e6ee01 Mon Sep 17 00:00:00 2001 From: kt Date: Wed, 17 Feb 2021 00:32:46 -0800 Subject: [PATCH] upgrade to go 1.16 --- .github/workflows/depscheck.yml | 2 +- .github/workflows/docs-lint.yml | 2 +- .github/workflows/golint.yml | 2 +- .github/workflows/tflint.yml | 2 +- .github/workflows/thirty-two-bit.yml | 2 +- .github/workflows/unit-test.yml | 2 +- .go-version | 2 +- README.md | 4 ++-- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/depscheck.yml b/.github/workflows/depscheck.yml index 5795243c93..18527377b4 100644 --- a/.github/workflows/depscheck.yml +++ b/.github/workflows/depscheck.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.14.5' + go-version: '1.16.0' - run: bash scripts/gogetcookie.sh - run: make tools - run: make depscheck diff --git a/.github/workflows/docs-lint.yml b/.github/workflows/docs-lint.yml index 83a6a76145..9ef21c4cbf 100644 --- a/.github/workflows/docs-lint.yml +++ b/.github/workflows/docs-lint.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.14.5' + go-version: '1.16.0' - run: bash scripts/gogetcookie.sh - run: make tools - run: make docs-lint diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml index a13e44d82e..0fd91073aa 100644 --- a/.github/workflows/golint.yml +++ b/.github/workflows/golint.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.14.5' + go-version: '1.16.0' - uses: golangci/golangci-lint-action@v2 with: version: 'v1.32' diff --git a/.github/workflows/tflint.yml b/.github/workflows/tflint.yml index 60ab395780..b60fccebdf 100644 --- a/.github/workflows/tflint.yml +++ b/.github/workflows/tflint.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.14.5' + go-version: '1.16.0' - run: bash scripts/gogetcookie.sh - run: make tools - run: make tflint diff --git a/.github/workflows/thirty-two-bit.yml b/.github/workflows/thirty-two-bit.yml index 565f02db39..d0770071f3 100644 --- a/.github/workflows/thirty-two-bit.yml +++ b/.github/workflows/thirty-two-bit.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.14.5' + go-version: '1.16.0' - run: bash scripts/gogetcookie.sh - run: make tools - run: GOARCH=386 GOOS=linux go build -o 32bitbuild . diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 879a1d456f..c4956d1a9b 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '1.14.5' + go-version: '1.16.0' - run: bash scripts/gogetcookie.sh - run: make test diff --git a/.go-version b/.go-version index 24a57f28a4..15b989e398 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.14.5 +1.16.0 diff --git a/README.md b/README.md index d6d141a9aa..a736d3b822 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Further [usage documentation](https://www.terraform.io/docs/providers/azuread/) ## Developer Requirements - [Terraform](https://www.terraform.io/downloads.html) 0.12.x or later -- [Go](https://golang.org/doc/install) 1.15.x (to build the provider plugin) +- [Go](https://golang.org/doc/install) 1.16.x (to build the provider plugin) If you're building on Windows, you will also need: - [Git Bash for Windows](https://git-scm.com/download/win) @@ -66,7 +66,7 @@ For *Git Bash for Windows*, at the step of "Adjusting your PATH environment", pl ## Developing the Provider -If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.15+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`. +If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.16+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`. Clone the repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-azuread`