mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Bump Go to 1.19 (#6586)
* Set Go version in go.mod go mod edit -go=1.19 * Fix formatting issues reported by gofmt * Fix SA1019 check (usage of deprecated "io/ioutil"), reported by golangci-lint SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck) * Use Go 1.19 in our Dockerfiles * Use Go 1.19 in the rpm-prepare.sh script * Update the tag for the IBM Cloud CI image
This commit is contained in:
@@ -15,8 +15,8 @@ export ODO_RPM_VERSION
|
||||
|
||||
# Golang version variables, if you are bumping this, please contact redhat maintainers to ensure that internal
|
||||
# build systems can handle these versions
|
||||
export GOLANG_VERSION=${GOLANG_VERSION:-1.18}
|
||||
export GOLANG_VERSION_NODOT=${GOLANG_VERSION_NODOT:-118}
|
||||
export GOLANG_VERSION=${GOLANG_VERSION:-1.19}
|
||||
export GOLANG_VERSION_NODOT=${GOLANG_VERSION_NODOT:-119}
|
||||
|
||||
# Print env for verification
|
||||
echo "Printing envs for verification"
|
||||
|
||||
Reference in New Issue
Block a user