Skip to content

Commit af95113

Browse files
authored
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.
1 parent 27ae8b0 commit af95113

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.circleci/config.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ commands:
2626
echo "Running $(echo $PACKAGE_NAMES | wc -w) packages"
2727
echo $PACKAGE_NAMES
2828
<< 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
29-
29+
3030
jobs:
3131
linux-tests:
3232
docker:
3333
- image: docker.mirror.hashicorp.services/circleci/golang:<< parameters.go-version >>
3434
parameters:
3535
go-version:
3636
type: string
37-
environment:
37+
environment:
3838
<<: *ENVIRONMENT
3939
parallelism: 4
4040
steps:
@@ -85,7 +85,7 @@ jobs:
8585
path: *TEST_RESULTS_PATH
8686

8787
windows-tests:
88-
executor:
88+
executor:
8989
name: win/default
9090
shell: bash --login -eo pipefail
9191
environment:
@@ -96,12 +96,12 @@ jobs:
9696
type: string
9797
gotestsum-version:
9898
type: string
99-
steps:
99+
steps:
100100
- run: git config --global core.autocrlf false
101101
- checkout
102102
- attach_workspace:
103103
at: .
104-
- run:
104+
- run:
105105
name: Setup (remove pre-installed go)
106106
command: |
107107
rm -rf "c:\Go"
@@ -112,16 +112,16 @@ jobs:
112112
- win-golang-<< parameters.go-version >>-cache-v1
113113
- win-gomod-cache-{{ checksum "go.mod" }}-v1
114114

115-
- run:
115+
- run:
116116
name: Install go version << parameters.go-version >>
117-
command: |
117+
command: |
118118
if [ ! -d "c:\go" ]; then
119119
echo "Cache not found, installing new version of go"
120120
curl --fail --location https://dl.google.com/go/go<< parameters.go-version >>.windows-amd64.zip --output go.zip
121121
unzip go.zip -d "/c"
122122
fi
123123
124-
- run:
124+
- run:
125125
command: go mod download
126126

127127
- save_cache:
@@ -165,12 +165,12 @@ workflows:
165165
context: go-getter
166166
matrix:
167167
parameters:
168-
go-version: ["1.14.1"]
168+
go-version: ["1.15.13"]
169169
name: linux-test-go-<< matrix.go-version >>
170170
- windows-tests:
171171
context: go-getter
172172
matrix:
173173
parameters:
174-
go-version: ["1.14.1"]
174+
go-version: ["1.15.13"]
175175
gotestsum-version: ["0.4.1"]
176176
name: win-test-go-<< matrix.go-version >>

0 commit comments

Comments
 (0)