Skip to content

Commit

Permalink
upgrade golang to 1.20 (#930)
Browse files Browse the repository at this point in the history
Co-authored-by: Rajiv Senthilnathan <rajivnathan@gmail.com>
  • Loading branch information
ranakan19 and rajivnathan authored Nov 14, 2023
1 parent b4baf2f commit 83151b6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x

- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x

- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -70,7 +70,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/operator-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- '*.*'
env:
GOPATH: /tmp/go
GO_VERSION: 1.19.x
GO_VERSION: 1.20.x

jobs:
binary:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-operators-for-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
GOPATH: /tmp/go
GO_VERSION: 1.19.x
GO_VERSION: 1.20.x

jobs:
binary:
Expand Down
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is the CodeReady Toolchain Host Operator repository. It contains the OpenSh

== Build

Requires Go version 1.19.x (1.19.7 or higher) - download for your development environment https://golang.org/dl/[here].
Requires Go version 1.20.x (1.20.11 or higher) - download for your development environment https://golang.org/dl/[here].

This repository uses https://github.com/golang/go/wiki/Modules[Go modules].

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ require (
sigs.k8s.io/yaml v1.3.0 // indirect
)

go 1.19
go 1.20
4 changes: 2 additions & 2 deletions openshift-ci/Dockerfile.tools
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ENV LANG=en_US.utf8 \
GOCACHE=/tmp/.cache \
GIT_COMMITTER_NAME=devtools \
GIT_COMMITTER_EMAIL=devtools@redhat.com \
GOLANG_VERSION=go1.19.7 \
GOLANG_SHA256=7a75720c9b066ae1750f6bcc7052aba70fa3813f4223199ee2a2315fd3eb533d
GOLANG_VERSION=go1.20.11 \
GOLANG_SHA256=ef79a11aa095a08772d2a69e4f152f897c4e96ee297b0dc20264b7dec2961abe

ARG GO_PACKAGE_PATH=github.com/codeready-toolchain/host-operator

Expand Down

0 comments on commit 83151b6

Please sign in to comment.