Move to Go 1.20. (#18981)
This commit is contained in:
parent
b69055175a
commit
4934b87038
|
@ -120,13 +120,13 @@ jobs:
|
||||||
root: .
|
root: .
|
||||||
environment:
|
environment:
|
||||||
- CIRCLECI_CLI_VERSION: 0.1.5546
|
- CIRCLECI_CLI_VERSION: 0.1.5546
|
||||||
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
- GO_TAGS: ''
|
- GO_TAGS: ''
|
||||||
- GOFUMPT_VERSION: 0.3.1
|
- GOFUMPT_VERSION: 0.3.1
|
||||||
- GOTESTSUM_VERSION: 0.5.2
|
- GOTESTSUM_VERSION: 0.5.2
|
||||||
test-go-remote-docker:
|
test-go-remote-docker:
|
||||||
docker:
|
docker:
|
||||||
- image: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- image: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
resource_class: medium
|
resource_class: medium
|
||||||
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
||||||
parallelism: 8
|
parallelism: 8
|
||||||
|
@ -352,7 +352,7 @@ jobs:
|
||||||
path: /tmp/testlogs
|
path: /tmp/testlogs
|
||||||
environment:
|
environment:
|
||||||
- CIRCLECI_CLI_VERSION: 0.1.5546
|
- CIRCLECI_CLI_VERSION: 0.1.5546
|
||||||
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
- GO_TAGS: ''
|
- GO_TAGS: ''
|
||||||
- GOFUMPT_VERSION: 0.3.1
|
- GOFUMPT_VERSION: 0.3.1
|
||||||
- GOTESTSUM_VERSION: 0.5.2
|
- GOTESTSUM_VERSION: 0.5.2
|
||||||
|
@ -396,13 +396,13 @@ jobs:
|
||||||
name: make fmt
|
name: make fmt
|
||||||
environment:
|
environment:
|
||||||
- CIRCLECI_CLI_VERSION: 0.1.5546
|
- CIRCLECI_CLI_VERSION: 0.1.5546
|
||||||
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
- GO_TAGS: ''
|
- GO_TAGS: ''
|
||||||
- GOFUMPT_VERSION: 0.3.1
|
- GOFUMPT_VERSION: 0.3.1
|
||||||
- GOTESTSUM_VERSION: 0.5.2
|
- GOTESTSUM_VERSION: 0.5.2
|
||||||
test-go-race:
|
test-go-race:
|
||||||
docker:
|
docker:
|
||||||
- image: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- image: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
resource_class: xlarge
|
resource_class: xlarge
|
||||||
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
||||||
parallelism: 8
|
parallelism: 8
|
||||||
|
@ -618,13 +618,13 @@ jobs:
|
||||||
path: /tmp/testlogs
|
path: /tmp/testlogs
|
||||||
environment:
|
environment:
|
||||||
- CIRCLECI_CLI_VERSION: 0.1.5546
|
- CIRCLECI_CLI_VERSION: 0.1.5546
|
||||||
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
- GO_TAGS: ''
|
- GO_TAGS: ''
|
||||||
- GOFUMPT_VERSION: 0.3.1
|
- GOFUMPT_VERSION: 0.3.1
|
||||||
- GOTESTSUM_VERSION: 0.5.2
|
- GOTESTSUM_VERSION: 0.5.2
|
||||||
test-go:
|
test-go:
|
||||||
docker:
|
docker:
|
||||||
- image: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- image: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
resource_class: large
|
resource_class: large
|
||||||
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
||||||
parallelism: 8
|
parallelism: 8
|
||||||
|
@ -840,7 +840,7 @@ jobs:
|
||||||
path: /tmp/testlogs
|
path: /tmp/testlogs
|
||||||
environment:
|
environment:
|
||||||
- CIRCLECI_CLI_VERSION: 0.1.5546
|
- CIRCLECI_CLI_VERSION: 0.1.5546
|
||||||
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
- GO_TAGS: ''
|
- GO_TAGS: ''
|
||||||
- GOFUMPT_VERSION: 0.3.1
|
- GOFUMPT_VERSION: 0.3.1
|
||||||
- GOTESTSUM_VERSION: 0.5.2
|
- GOTESTSUM_VERSION: 0.5.2
|
||||||
|
@ -947,13 +947,13 @@ jobs:
|
||||||
- /home/circleci/go/pkg/mod
|
- /home/circleci/go/pkg/mod
|
||||||
environment:
|
environment:
|
||||||
- CIRCLECI_CLI_VERSION: 0.1.5546
|
- CIRCLECI_CLI_VERSION: 0.1.5546
|
||||||
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
- GO_TAGS: ''
|
- GO_TAGS: ''
|
||||||
- GOFUMPT_VERSION: 0.3.1
|
- GOFUMPT_VERSION: 0.3.1
|
||||||
- GOTESTSUM_VERSION: 0.5.2
|
- GOTESTSUM_VERSION: 0.5.2
|
||||||
test-go-race-remote-docker:
|
test-go-race-remote-docker:
|
||||||
docker:
|
docker:
|
||||||
- image: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- image: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
resource_class: medium
|
resource_class: medium
|
||||||
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
|
||||||
parallelism: 8
|
parallelism: 8
|
||||||
|
@ -1179,7 +1179,7 @@ jobs:
|
||||||
path: /tmp/testlogs
|
path: /tmp/testlogs
|
||||||
environment:
|
environment:
|
||||||
- CIRCLECI_CLI_VERSION: 0.1.5546
|
- CIRCLECI_CLI_VERSION: 0.1.5546
|
||||||
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.19.4
|
- GO_IMAGE: docker.mirror.hashicorp.services/cimg/go:1.20
|
||||||
- GO_TAGS: ''
|
- GO_TAGS: ''
|
||||||
- GOFUMPT_VERSION: 0.3.1
|
- GOFUMPT_VERSION: 0.3.1
|
||||||
- GOTESTSUM_VERSION: 0.5.2
|
- GOTESTSUM_VERSION: 0.5.2
|
||||||
|
|
|
@ -4,7 +4,7 @@ references:
|
||||||
GOTESTSUM_VERSION: 0.5.2 # Pin gotestsum to patch version (ex: 1.2.3)
|
GOTESTSUM_VERSION: 0.5.2 # Pin gotestsum to patch version (ex: 1.2.3)
|
||||||
GOFUMPT_VERSION: 0.3.1 # Pin gofumpt to patch version (ex: 1.2.3)
|
GOFUMPT_VERSION: 0.3.1 # Pin gofumpt to patch version (ex: 1.2.3)
|
||||||
GO_TAGS: ""
|
GO_TAGS: ""
|
||||||
GO_IMAGE: &GO_IMAGE "docker.mirror.hashicorp.services/cimg/go:1.19.4"
|
GO_IMAGE: &GO_IMAGE "docker.mirror.hashicorp.services/cimg/go:1.20"
|
||||||
go-machine:
|
go-machine:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:2022.10.1
|
image: ubuntu-2004:2022.10.1
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.19.4
|
1.20
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
```release-note:change
|
```release-note:change
|
||||||
core: Bump Go version to 1.19.4.
|
core: Bump Go version to 1.20.
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue