Skip to content

Commit

Permalink
Update go version to 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
kisunji committed Oct 24, 2022
1 parent db82ffe commit 41019ad
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
22 changes: 11 additions & 11 deletions .circleci/config.yml
Expand Up @@ -22,7 +22,7 @@ references:
S3_ARTIFACT_BUCKET: consul-dev-artifacts-v2
BASH_ENV: .circleci/bash_env.sh
VAULT_BINARY_VERSION: 1.9.4
GO_VERSION: 1.18.1
GO_VERSION: 1.19.2
envoy-versions: &supported_envoy_versions
- &default_envoy_version "1.20.7"
- "1.21.5"
Expand All @@ -35,7 +35,7 @@ references:
images:
# When updating the Go version, remember to also update the versions in the
# workflows section for go-test-lib jobs.
go: &GOLANG_IMAGE docker.mirror.hashicorp.services/cimg/go:1.18.1
go: &GOLANG_IMAGE docker.mirror.hashicorp.services/cimg/go:1.19.2
ember: &EMBER_IMAGE docker.mirror.hashicorp.services/circleci/node:14-browsers
ubuntu: &UBUNTU_CI_IMAGE ubuntu-2004:202201-02
cache:
Expand Down Expand Up @@ -1069,26 +1069,26 @@ workflows:
- dev-build: *filter-ignore-non-go-branches
- go-test:
requires: [dev-build]
- go-test-lib:
name: "go-test-api go1.17"
path: api
go-version: "1.17"
requires: [dev-build]
- go-test-lib:
name: "go-test-api go1.18"
path: api
go-version: "1.18"
requires: [dev-build]
- go-test-lib:
name: "go-test-sdk go1.17"
path: sdk
go-version: "1.17"
<<: *filter-ignore-non-go-branches
name: "go-test-api go1.19"
path: api
go-version: "1.19"
requires: [ dev-build ]
- go-test-lib:
name: "go-test-sdk go1.18"
path: sdk
go-version: "1.18"
<<: *filter-ignore-non-go-branches
- go-test-lib:
name: "go-test-sdk go1.19"
path: sdk
go-version: "1.19"
<<: *filter-ignore-non-go-branches
- go-test-race: *filter-ignore-non-go-branches
- go-test-32bit: *filter-ignore-non-go-branches
- noop
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Expand Up @@ -71,15 +71,15 @@ jobs:
strategy:
matrix:
include:
- {go: "1.18.1", goos: "linux", goarch: "386"}
- {go: "1.18.1", goos: "linux", goarch: "amd64"}
- {go: "1.18.1", goos: "linux", goarch: "arm"}
- {go: "1.18.1", goos: "linux", goarch: "arm64"}
- {go: "1.18.1", goos: "freebsd", goarch: "386"}
- {go: "1.18.1", goos: "freebsd", goarch: "amd64"}
- {go: "1.18.1", goos: "windows", goarch: "386"}
- {go: "1.18.1", goos: "windows", goarch: "amd64"}
- {go: "1.18.1", goos: "solaris", goarch: "amd64"}
- {go: "1.19.2", goos: "linux", goarch: "386"}
- {go: "1.19.2", goos: "linux", goarch: "amd64"}
- {go: "1.19.2", goos: "linux", goarch: "arm"}
- {go: "1.19.2", goos: "linux", goarch: "arm64"}
- {go: "1.19.2", goos: "freebsd", goarch: "386"}
- {go: "1.19.2", goos: "freebsd", goarch: "amd64"}
- {go: "1.19.2", goos: "windows", goarch: "386"}
- {go: "1.19.2", goos: "windows", goarch: "amd64"}
- {go: "1.19.2", goos: "solaris", goarch: "amd64"}
fail-fast: true

name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
matrix:
goos: [ darwin ]
goarch: [ "amd64", "arm64" ]
go: [ "1.18.1" ]
go: [ "1.19.2" ]
fail-fast: true

name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build
Expand Down
2 changes: 1 addition & 1 deletion build-support/docker/Build-Go.dockerfile
@@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.18.1
ARG GOLANG_VERSION=1.19.2
FROM golang:${GOLANG_VERSION}

WORKDIR /consul
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/hashicorp/consul

go 1.18
go 1.19

replace github.com/hashicorp/consul/api => ./api

Expand Down
2 changes: 1 addition & 1 deletion test/integration/consul-container/go.mod
@@ -1,6 +1,6 @@
module github.com/hashicorp/consul/test/integration/consul-container

go 1.18
go 1.19

require (
github.com/docker/docker v20.10.11+incompatible
Expand Down

0 comments on commit 41019ad

Please sign in to comment.