Move to Go 1.20. (#18981)

This commit is contained in:
Nick Cabatoff 2023-02-03 12:26:25 -05:00 committed by GitHub
parent b69055175a
commit 4934b87038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 14 deletions

22
.circleci/config.yml generated
View File

@ -120,13 +120,13 @@ jobs:
root: .
environment:
- 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: ''
- GOFUMPT_VERSION: 0.3.1
- GOTESTSUM_VERSION: 0.5.2
test-go-remote-docker:
docker:
- image: docker.mirror.hashicorp.services/cimg/go:1.19.4
- image: docker.mirror.hashicorp.services/cimg/go:1.20
resource_class: medium
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
parallelism: 8
@ -352,7 +352,7 @@ jobs:
path: /tmp/testlogs
environment:
- 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: ''
- GOFUMPT_VERSION: 0.3.1
- GOTESTSUM_VERSION: 0.5.2
@ -396,13 +396,13 @@ jobs:
name: make fmt
environment:
- 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: ''
- GOFUMPT_VERSION: 0.3.1
- GOTESTSUM_VERSION: 0.5.2
test-go-race:
docker:
- image: docker.mirror.hashicorp.services/cimg/go:1.19.4
- image: docker.mirror.hashicorp.services/cimg/go:1.20
resource_class: xlarge
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
parallelism: 8
@ -618,13 +618,13 @@ jobs:
path: /tmp/testlogs
environment:
- 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: ''
- GOFUMPT_VERSION: 0.3.1
- GOTESTSUM_VERSION: 0.5.2
test-go:
docker:
- image: docker.mirror.hashicorp.services/cimg/go:1.19.4
- image: docker.mirror.hashicorp.services/cimg/go:1.20
resource_class: large
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
parallelism: 8
@ -840,7 +840,7 @@ jobs:
path: /tmp/testlogs
environment:
- 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: ''
- GOFUMPT_VERSION: 0.3.1
- GOTESTSUM_VERSION: 0.5.2
@ -947,13 +947,13 @@ jobs:
- /home/circleci/go/pkg/mod
environment:
- 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: ''
- GOFUMPT_VERSION: 0.3.1
- GOTESTSUM_VERSION: 0.5.2
test-go-race-remote-docker:
docker:
- image: docker.mirror.hashicorp.services/cimg/go:1.19.4
- image: docker.mirror.hashicorp.services/cimg/go:1.20
resource_class: medium
working_directory: /home/circleci/go/src/github.com/hashicorp/vault
parallelism: 8
@ -1179,7 +1179,7 @@ jobs:
path: /tmp/testlogs
environment:
- 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: ''
- GOFUMPT_VERSION: 0.3.1
- GOTESTSUM_VERSION: 0.5.2

View File

@ -4,7 +4,7 @@ references:
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)
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:
machine:
image: ubuntu-2004:2022.10.1

View File

@ -1 +1 @@
1.19.4
1.20

View File

@ -1,3 +1,3 @@
```release-note:change
core: Bump Go version to 1.19.4.
core: Bump Go version to 1.20.
```