From a1d33d8306899ea13907b91c525fa3eb8eb5f64e Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Mon, 25 Jul 2022 16:50:55 +0100 Subject: [PATCH] Update to Go 1.17 to fix build issue Fixes the error: //go:build comment without // +build comment. Relates to https://github.com/hashicorp/vault/issues/14980. Signed-off-by: Paulo Gomes --- .circleci/config.yml | 2 +- .github/workflows/ci.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fb9f57d34..c5e0cb77a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: image: ubuntu-2004:202010-01 resource_class: large environment: - GO_VERSION: 1.16.7 + GO_VERSION: 1.17.12 # We don't need a GOPATH but CircleCI defines it, so we override it GOPATH: /home/circleci/go GO111MODULE: 'on' diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b610ee88c..82faa21ec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,7 +22,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: 1.16.x + go-version: 1.17.x - name: Run tests run: make test TEST_FLAGS="-race -tags integration -timeout 5m" - name: Check codegen @@ -60,7 +60,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: 1.16.x + go-version: 1.17.x - name: Download cache uses: actions/download-artifact@v1 with: