Skip to content

Commit f741c31

Browse files
steelingkeithmattix
authored andcommitted
bump version of go to 1.19 (openservicemesh#4972)
bump version of go to 1.19 Signed-off-by: Sean Teeling <[email protected]>
1 parent 56679ed commit f741c31

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: golangci-lint
5555
uses: golangci/golangci-lint-action@v3
5656
with:
57-
version: v1.47.0
57+
version: v1.48.0
5858
skip-pkg-cache: true
5959

6060
codegen:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
#build stage
3-
FROM golang:1.17-alpine AS builder
3+
FROM golang:1.19-alpine AS builder
44

55
RUN apk update
66
RUN apk add --no-cache make

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ GIT_SHA=$$(git rev-parse HEAD)
2121
BUILD_DATE_VAR := github.com/openservicemesh/osm/pkg/version.BuildDate
2222
BUILD_VERSION_VAR := github.com/openservicemesh/osm/pkg/version.Version
2323
BUILD_GITCOMMIT_VAR := github.com/openservicemesh/osm/pkg/version.GitCommit
24-
DOCKER_GO_VERSION = 1.17
25-
DOCKER_BUILDX_PLATFORM ?= linux/amd64
24+
DOCKER_GO_VERSION = 1.19
25+
DOCKER_BUILDX_PLATFORM ?= linux/$(shell go env GOARCH)
2626
# Value for the --output flag on docker buildx build.
2727
# https://docs.docker.com/engine/reference/commandline/buildx_build/#output
2828
DOCKER_BUILDX_OUTPUT ?= type=registry

demo/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## System Requirements
44
- MacOS, Linux or WSL2 on Windows
55
- GCC
6-
- Go version [1.17.0 or higher](https://github.com/openservicemesh/osm/issues/2363)
6+
- Go version [1.19.0 or higher](https://github.com/openservicemesh/osm/issues/2363)
77
- Kubectl version 1.15 or higher
88
- Docker CLI
99
- on a Debian based GNU/Linux system: `sudo apt-get install docker`

docs/development_guide/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ OSM leverages [Envoy proxy](https://github.com/envoyproxy/envoy) as a data plane
6363

6464
## Get Go-ing
6565

66-
This Open Service Mesh project uses [Go v1.17.0+](https://golang.org/). If you are not familiar with Go, spend some time with the excellent [Tour of Go](https://tour.golang.org/).
66+
This Open Service Mesh project uses [Go v1.19.0+](https://golang.org/). If you are not familiar with Go, spend some time with the excellent [Tour of Go](https://tour.golang.org/).
6767

6868
## Get the dependencies
6969

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/openservicemesh/osm
22

3-
go 1.17
3+
go 1.19
44

55
require (
66
github.com/AlekSi/gocov-xml v0.0.0-20190121064608-3a14fb1c4737

0 commit comments

Comments
 (0)