From af95113283f8288987ef82ac9cb141f919c5a484 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Thu, 17 Jun 2021 13:57:33 -0400 Subject: [PATCH] ci: bump MSV of go to 1.15.13 (#325) 9e42df5 introduced an `Insecure` flag for the http getter and in its error reporting relied on the `url.Redacted()` method introduced in golang 1.15 (See https://golang.org/doc/go1.15). This breaks CI, but golang 1.14 is out of support so our minimum supported version of go should now be on the 1.15.x series. --- .circleci/config.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6a29dca3a..6d4f778d9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,7 +26,7 @@ commands: echo "Running $(echo $PACKAGE_NAMES | wc -w) packages" echo $PACKAGE_NAMES << parameters.cmd >> --format=short-verbose --junitfile $TEST_RESULTS_PATH/go-getter/gotestsum-report.xml -- -p 2 -cover -race -vet=<< parameters.govet >> -coverprofile=<< parameters.platform >>_cov_$CIRCLE_NODE_INDEX.part $PACKAGE_NAMES - + jobs: linux-tests: docker: @@ -34,7 +34,7 @@ jobs: parameters: go-version: type: string - environment: + environment: <<: *ENVIRONMENT parallelism: 4 steps: @@ -85,7 +85,7 @@ jobs: path: *TEST_RESULTS_PATH windows-tests: - executor: + executor: name: win/default shell: bash --login -eo pipefail environment: @@ -96,12 +96,12 @@ jobs: type: string gotestsum-version: type: string - steps: + steps: - run: git config --global core.autocrlf false - checkout - attach_workspace: at: . - - run: + - run: name: Setup (remove pre-installed go) command: | rm -rf "c:\Go" @@ -112,16 +112,16 @@ jobs: - win-golang-<< parameters.go-version >>-cache-v1 - win-gomod-cache-{{ checksum "go.mod" }}-v1 - - run: + - run: name: Install go version << parameters.go-version >> - command: | + command: | if [ ! -d "c:\go" ]; then echo "Cache not found, installing new version of go" curl --fail --location https://dl.google.com/go/go<< parameters.go-version >>.windows-amd64.zip --output go.zip unzip go.zip -d "/c" fi - - run: + - run: command: go mod download - save_cache: @@ -165,12 +165,12 @@ workflows: context: go-getter matrix: parameters: - go-version: ["1.14.1"] + go-version: ["1.15.13"] name: linux-test-go-<< matrix.go-version >> - windows-tests: context: go-getter matrix: parameters: - go-version: ["1.14.1"] + go-version: ["1.15.13"] gotestsum-version: ["0.4.1"] name: win-test-go-<< matrix.go-version >>